Kod: Zaznacz cały
# ./configure --X --Y
# make
# make install
Kod: Zaznacz cały
--Z
Podaję to jako przykład, bo zastanawia mnie ogólnie fakt zmiany takich opcji już po skompilowaniu czegokolwiek.
:arrow: Konkretniejszy przykład:
Kod: Zaznacz cały
# ./configure --prefix=/usr/local/php4 --with-config-file-path=/usr/local/php4 --sysconfdir=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --enable-discard-path --enable-debug --enable-track-vars --enable-versioning --with-openssl=/usr/local/ssl --with-xml --enable-bcmath --with-bz2 --enable-calendar --with-jpeg-dir=/usr/local --with-png-dir=/usr/lib --with-tiff-dir=/usr/local --with-ttf=/usr/lib --with-curl --with-db --with-dbase --with-pear --enable-exif --with-gettext --with-iconv --with-iconv-dir=/usr/local --enable-mbstring --with-mcrypt --with-mhash --with-zlib --with-gd --with-gd-native-ttf --with-xslt-sablot=/usr/lib --enable-xslt --enable-wddx --with-kerberos --with-ncurses
# make
# make install
Kod: Zaznacz cały
--enable-ftp