advertisement

Article:
  Learning the Mac OS X Terminal: Part 1
Subject:   coachferrigan
Date:   2003-07-09 14:04:56
From:   anonymous2
Trying to enable PHP via the following commands but will not start. Cked and recked my typing but still will not start. Any ideas?
cd /etc/httpd
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so
sudo perl -p -i.bak -e 's%#(addtype \S+-php[ -]%$%i' httpd.conf


then to restart apache
sudo apachectl graceful