Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.