Category Archives: mac

All things related to the Apple Mac computers.

Problems compiling PHP 5.3.19 on Mountain Lion

I had to add EXTRA_CFLAGS = -lstdc++ -lresolv to Makefile when trying to compile PHP 5.3.19 with: ./configure –prefix=/usr/local –mandir=/usr/share/man –infodir=/usr/share/info –sysconfdir=/private/etc –enable-cli –with-config-file-path=/usr/local/php/etc –with-libxml-dir=/usr –enable-xml –enable-exif –enable-ftp –with-gd –with-jpeg-dir=/usr/local/lib –with-png-dir=/usr/local/lib –enable-gd-native-ttf –with-imap=/usr/local –with-imap-ssl –enable-magic-quotes –enable-mbstring –enable-mbregex –enable-json –with-mysql=mysqlnd –with-mysqli=mysqlnd … Continue reading

Posted in mac, php | 2 Comments

PHP with Intl and Gettext on OSX Lion

Mac OSX Lion ships with PHP 5.3.6. There are also other ways to get PHP working on Lion, for example: Liip distributes a full featured PHP 5.3 binary for Lion Zend has its Zend Server Community Edition MacPorts Homebrew These … Continue reading

Posted in mac, php | 6 Comments