The following instructions will help you install a PHP module for the Apache
web server included in MacOS X. This version includes support for the MySQL
and PostgreSQL databases. These instructions are graciously provided by
» Marc Liyanage.
Warning
Be careful when you do this, you could screw up your Apache web server!
Remove the two hash marks (#), then save the file and
quit TextEdit.
Finally, type
sudo apachectl graceful
to restart
the web server.
PHP should now be up and running. You can test it by dropping a file into
your Sites folder which is called
test.php. Into that file, write this line:
<?php phpinfo() ?>.
Now open up 127.0.0.1/~your_username/test.php in your web
browser. You should see a status table with information about the PHP module.
add a note
User Contributed Notes Compiling for MacOS X Client
There are no user contributed notes for this page.