How To Get The Most Out Of Your Mac

XAMPP vs MAMP 11

Application

XAMPP vs MAMP

If you like doing web development, and especially need PHP, you probably want to install a piece of software that enables you to install the PHP and apache packages for you. You do you a basic apache install on your computer, but installing an configuring it to run properly is a bit fiddly. I have tried and failed. Thank fully there is two vary good pieces of software that streamline the process for you. These are XAMPP and MAMP. This post is going to be a review and head to head battle about them. I have posted about them before, but this is going to be an extension of that.

Installing PHP To Run With Your Web Server 1

Trick

Installing PHP To Run With Your Web Server

Did you know that your Mac has a fully built Apache web server built right in. You can access it through http://localhost/~User/ with all of the files stored in /Users/~User/Sites/ . This is a full apache install. When you turn web sharing on from System Preferences (System Preferences > Sharing > Web Sharing), a very important step, you can surf you Mac and serve a very basic web page/site. The problem with this is that it doesn’t have php enabled. This is a problem for anyone who wants to take it a step further and start developing more dynamic websites. As a result I have written this guide which will show you how to enable it. There are two methods the long and hard way which usually encounters many problems or the quick and easy way. This guide is intended for Leopard so it may differ on older systems. If you do encounter any problems leave a comment. I will try and answer them with the best of my knowledge, although it is out of the scope of this piece. As a side note enabling this is usually for development only and not to actually serve websites on the net, since it is highly unsecure. They are designed for developing websites. If you do want to serve websites on the internet I suggest finding a web host or reading more in depth into how this technology works.

Subscribe To The Newsletter

Enter your email address to receive the latest tips and tricks from this site to your inbox.

Advertise

Do you want to advertise your products, website or other service on Mac Tricks And Tips? Visit the advertising page for more information.

Friends Of MacTricksAndTips

Discountrue

Framed Creation

The Extra Stuff You Need To Know