1 May 18:06
Mac OSX Tiger, installing Apache2, PHP5, MySQL5
Emma Badger <emma.jones <at> chocolateteapot.net>
2006-05-01 16:06:24 GMT
2006-05-01 16:06:24 GMT
I successfully installed Apache2 and got it working and then installed PHP5. I configured Apache2 to use PHP5 and got the error "Cannot load \usr\local\php5\libphp5.so into server: cannot create object file image or add library". I posted the error on macosxhints and was told that it would be better to install the applications using DarwinPorts. I removed PHP5 and Apache2 and got Apache 1.3 working. I installed DarwinPorts and Apache2, PHP5 and MySQL5 using sudo port install php5 +apache2 +mysql5. I still had to configure Apache2 to get it working (should DarwinPorts do the configuration for you?) and I'm still getting the same error. My httpd.conf says LoadModule php5_module /usr/local/php5/libphp5.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I've checked that libphp5.so exists in \usr\local\php5. Any help would be appreciated. Thanks
RSS Feed