![]() This means PHP and Apache are now working. When you view in a Web browser, you should see a lot of information about your PHP installation. This file will have the following contents: ![]() To ensure PHP is working, create a new text file in ~/Sites/ named index.php. This restarts the Apache web server and loads the newly activated PHP 5 module. Uncheck Web Sharing, then re-check Web Sharing. Open System Preferences and click on Sharing. Remove the ”#” from the beginning of the line so that it looks like this: LoadModule php5_module libexec/apache2/libphp5.so Locate this line (line 115 for me): #LoadModule php5_module libexec/apache2/libphp5.so Open /etc/apache2/nf file with vi or TextMate. To activate PHP, you need to load the PHP 5 module in the Apache configuration file. Turn on PHPĪfter upgrading to Snow Leopard, PHP may be disabled. This tutorial demonstrates how to install PEAR, PHPUnit, and XDebug on Mac OS X 10.6 Snow Leopard. Unfortunately, a default Mac OS X 10.6 install does not include more advanced tools for testing and debugging PHP applications. ![]() ![]() By default, Mac OS X 10.6 includes PHP 5.3.0 and Apache 2.2.11. I use Mac OS X 10.6 Snow Leopard on my Apple Macbook - my primary web development machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |