More joy of tech - Grin with cat attached
|More joy of tech||Nov. 10th, 2007 11:11 pm|
Apparently migrating Tiger / OSX 10.4 to Leopard involves:|
Upgrading Apache to 2.2, and PHP to 5.2.4
Changing apache's expected location for its config files from /etc/httpd/ to /etc/apache2, and so disabling all custom configuration.
Disabling PHP by default.
Locking down access to 'deny from all' by default.
Breaking MySQL's prefs pane. There *is* no MySQL package for 10.5 though, so start it by hand...
Preventing mysql from connecting on 'localhost', although 127.0.0.1 works...
... except that the installed PHP 5.2.4 doesn't have MySQL PDO support ...
so it's time to build PHP from source...
... except of course gcc no longer works until you install Xcode 10.5
That installs ok, configure runs, PHP5 compiles... to an i386 .so, which won't run against apache2 which is a quad-type universal binary running as x86_64 ...
httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so:
ETA Fukkit - rebuilt apache as i386 instead
(no subject) - (Anonymous)