This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
docs:programming:php:php_cgi [2007/03/27 18:24] – added gettext billh | docs:programming:php:php_cgi [2008/08/03 00:25] (current) – external edit 127.0.0.1 |
---|
* NOTE: it is possible that with this php install there are some needed features that were not enabled during the build process; this is the config command that fink was going to use for the unstable branch<code> | * NOTE: it is possible that with this php install there are some needed features that were not enabled during the build process; this is the config command that fink was going to use for the unstable branch<code> |
configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconf | configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconf |
| </code> |
| |
| ===== Setup (using custom MySQL) ===== |
| * same steps as above, with the following modification to the configure command:<code> |
| --with-mysql=/sw |
| |
| full command would then be: |
| |
| ./configure --prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --enable-force-cgi-redirect --with-config-file-path=/sw/etc/php4/cgi --with-mysql=/sw --with-gd=/sw --with-jpeg-dir=/sw --with-ldap=/sw --with-gettext=/sw --with-png-dir=/sw --with-zlib-dir=/sw --with-freetype-dir=/sw/lib/freetype2 --with-mcrypt=/sw --enable-fastcgi --enable-exif --without-mm --without-pgsql |
</code> | </code> |