Does anyone know how to enable PHP via the Terminal in OS X Tiger Client? All I did in Panther was type this in the Terminal and it was activated.
cd /etc/httpd
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so
I tried it in Tiger and got the following, but when I run test.php, PHP is not activated. My Apache server is running fine.
[activating module `php4' in /private/etc/httpd/httpd.conf]
cp /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bak
cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/httpd.conf
rm /private/etc/httpd/httpd.conf.new
TIA!
cd /etc/httpd
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so
I tried it in Tiger and got the following, but when I run test.php, PHP is not activated. My Apache server is running fine.
[activating module `php4' in /private/etc/httpd/httpd.conf]
cp /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bak
cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/httpd.conf
rm /private/etc/httpd/httpd.conf.new
TIA!