so i noticed macports already has php 5.3 only a week after its release. so why not give it a try. well here’s what happened ….
Zend Debugger requires Zend Engine API version 220060519. The Zend Engine API version 220090626 which is installed, is newer. Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Debugger. PHP Warning: PHP Startup: apc: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20060613 PHP compiled with module API=20090626 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20060613/syck.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20060613/syck.so, 9): image not found in Unknown on line 0
looks like we have to upgrade or disable some extensions …
apc, imagick, memcache, syck
ok looking back at the port upgrade output actually just noticed php.ini is changed alot in this release … better use a newer copy …
---> Uninstalling php5 @5.2.10_1+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy ---> Installing php5 @5.3.0_0+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy ---> Activating php5 @5.3.0_0+apache2+imap+ipc+macosx+mysql5+pear+sockets+sqlite+tidy You may need to update your php.ini for any changes that have been made in this version of php. Compare /opt/local/etc/php5/php.ini with /opt/local/etc/php5/php.ini-development (if this is a development server) or /opt/local/etc/php5/php.ini-production (if this is a production server). If this is your first install, you need to activate PHP in your web server. To enable PHP in Apache, run cd /opt/local/apache2/modules /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
ok so after backing up current php.ini and then copying the php.ini-development over top php.ini things seem fine.
i had a few issues with imagick and apc since they were installed from pecl and not macports but after removing and reinstalling through macports the problems were solved.
everything appears to be running smoothly.