Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using MacOS X 10.6.2. I want to use AMPPS http://www.ampps.com/ as my local development server so my question is how do I keep my AMPPS PHP & MySQL default?

share|improve this question

if you meant how to set AMPPS php and mysql as default, then you must define this line in ~/.bash_profile:

export PATH="/Applications/AMPPS/php/bin:/Applications/AMPPS/mysql/bin:$PATH"

This makes the OS search for binaries in this paths before the default ones.

share|improve this answer

You should find two options in AMPPS "Start AMPPS on Starup" and "Start Apache & MySQL on Application startup".

These options can be found exactly at: Right click on AMPPS Dock Icon -> Configuration -> AMPPS.

share|improve this answer

I have never used AMPPS but I reckon you must stop web sharing from system preferences -> sharing, to leave free port 80. What do you mean as default? Always on? There should be a start server at boot... nothing really difficult.

I would use just mac's web sharing which is Apache, you can turn on PHP by uncommenting this line:

LoadModule php5_module        libexec/apache2/libphp5.so

in /etc/apache/httpd.conf. You can use one of the latest PHP versions from: http://php-osx.liip.ch/.

MySql server has an easy dmg installer. If you want to be a good programmer, you should be able to set up and know your environment.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .