Softpress

Installing a Local Webserver with PHP and MySQL

If you require a local webserver for testing out PHP and/or MySQL sites we recommend using MAMP rather than the modules that are included on your system. The reason for this is because you can play around with settings without worrying about affecting the built-in modues, you can remove the application when you no longer need it without needing to change some deeply buried configuration files and it's free!

You can download the latest version of MAMP from here: http://www.mamp.info/en/download.html

Installation is simple, just follow the instructions on the Disk Image. Once installed open the MAMP application and click the Start Servers button. You can then access the webserver from the browser by typing in  http://localhost:8888/MAMP (this page will open automatically when you start for the first time).

You can then create folders inside the /Applications/MAMP/htdocs/ folder, publish your site into them and access them through your favorite browser by navigating to http://localhost:8888/mySite/ where mySite is the name of the folder you published into in the MAMP folder.

When you have finished testing you can close the servers and quit the application. It could't be simpler than that!


Related Articles

Attachments

No attachments were found.

Article Details

Last Updated
14th of August, 2008

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

0% thumbs up 100% thumbs down (1 vote)

How would you rate this answer?




Thank you for rating this answer.

Continue