![mac os x apache forbidden mac os x apache forbidden](https://coolestguidesontheplanet.com/wp-content/uploads/2014/08/osx-yosemite-webserveruser.png)
This creates your php.ini file, which is located in /etc/php.ini for your future reference. By default, Leopard has an empty configuration file but provides a file which can be used as a template. I won’t be covering any tweaks to that file in this article but you should be aware that it exists. All relevant PHP settings are in the php.ini file. I’ve never had any problems myself but it’s something to look out for. However if you need some of PHP’s extended features you may want to consider rebuilding PHP from source code as I’ve read the version that ships with Leopard has been problematic for some. All the most popular extensions are already activated so you should be good to go. PHP 5.2.6 is the version shipped with Leopard. Don’t be alarmed if it asks for your system password… this is normal. LoadModule php5_module libexec/apache2/libphp5.so To enable PHP browse to Apache’s nf file located in /etc/apache2/nf You should now be able to see all hidden files. Then restart Finder by typing the following: You can also run this simple Terminal command to “show” all hidden folders in Finder:ĭefaults write AppleShowAllFiles TRUE I personally use Coda so all that you have to do is click on the “View” menu and choose Show Invisible Files, as illustrated below: If you use a text editor like Coda, BBedit, Text Wrangler, or TextMate you can choose to have hidden files “shown” so you can find them in your file structure. Most of the files we’ll be working with are actually hidden from Finder. It’s all pretty easy to do but requires a little attention to detail in parts.
![mac os x apache forbidden mac os x apache forbidden](https://i.stack.imgur.com/f6oBo.png)
![mac os x apache forbidden mac os x apache forbidden](https://i.stack.imgur.com/zkYNl.png)
#Mac os x apache forbidden how to#
I will outline how to do this as well as get MySQL up and running so you can have a local development setup right on your Mac! By default both are inactive and require you to get them ready for business. One of the best features for web developers in Mac OSX Leopard is the inclusion of PHP and Apache. Posted 12 August 2008 by Mike Longmire & filed under Coding. Setting up PHP, MySQL, and Apache in Mac OSX Leopard