Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:mac:builds:php [2012/04/24 23:50] – [php.ini] billh | docs:mac:builds:php [2012/08/31 22:42] (current) – [My Preferred Libs] billh | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== My Preferred Libs ==== | ==== My Preferred Libs ==== | ||
* first install [[apache2]], | * first install [[apache2]], | ||
- | * :!: if you will be installing [[xdebug]], do NOT use the --disable-cli switch | + | * :!: if you will be installing [[xdebug]], do NOT use the --disable-cli switch |
* :!: my most recent build-from-scratch project for php found that libxml2 is not required to be built and installed since Leopard includes it already, so php doesn' | * :!: my most recent build-from-scratch project for php found that libxml2 is not required to be built and installed since Leopard includes it already, so php doesn' | ||
+ | * On Lion, it looks like everything installs fine except the cli for php. It installed a file named php.dSYM in / | ||
+ | * see https:// | ||
< | < | ||
- | ./configure --prefix=/ | + | ./ |
+ | --prefix=/ | ||
+ | --mandir=/ | ||
+ | --infodir=/ | ||
+ | --with-apxs2=/ | ||
+ | --with-curl=/ | ||
+ | --enable-exif | ||
+ | --enable-ftp | ||
+ | --with-gd=/ | ||
+ | --with-jpeg-dir=/ | ||
+ | --with-png-dir=/ | ||
+ | --with-zlib-dir=/ | ||
+ | --with-freetype-dir=/ | ||
+ | --with-mcrypt=/ | ||
+ | --with-mysql=/ | ||
+ | --with-mysqli=/ | ||
+ | --with-pdo-mysql=/ | ||
+ | --with-libxml-dir=/ | ||
+ | --enable-zip | ||
+ | --with-pgsql=/ | ||
+ | --with-pdo-pgsql=/ | ||
+ | --enable-mbstring | ||
make | make | ||
Line 16: | Line 39: | ||
sudo make install | sudo make install | ||
</ | </ | ||
- | |||
==== Leopard Update ==== | ==== Leopard Update ==== | ||
:!:I had problems installing on Leopard with ld (when linking). | :!:I had problems installing on Leopard with ld (when linking). |