Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
AMP Development on Apple?
Mark
Vanilla Staff
Right now on my Windows system I've got a number of different installations of MySQL, a number of different installations of PHP, and a single installation of Apache that deals with all of these different MySQL/PHP versions quite nicely.
When this spanky new Macbook arrives, I'm wondering if I can set up a similar scenario. Are there any tools to assist with this type of thing on Apple?
This is your chance to sell Apples as development machines, Mac zealots!
0
This discussion has been closed.
Comments
I downloaded and manually installed all of the MySQL versions I wanted. I set up all of them to run as windows services, but I made sure that only the most recent version starts automatically when Windows starts. If I ever want to use a different version of MySQL, I open up "Control Panel" > "Administrative Tools" > "Services" and then stop the one running and start another.
For PHP I created a PHP folder in my c drive. Inside that one I downloaded and unpacked all versions of PHP I wanted to play with. I made sure to configure the php.ini's properly in each installation. If I ever need to switch to a different version of PHP, I copy the php.ini of the version that I want and paste it into the c:/windows folder over top of the php.ini sitting there. Then I go into Apache's httpd.conf file and comment out the PHP that was running and uncomment the one I need. My conf file has a bunch of php installations sitting there like this:
# PHP 3.0.17 # Action application/x-httpd-php3 "C:\php\php-3.0.17\php3.exe" # PHP 4.3.0 # LoadModule php4_module "C:\php\php-4.3.0\sapi\php4apache.dll" # PHP 4.3.6 LoadModule php4_module "C:\php\php-4.3.6\sapi\php4apache.dll" # PHP 4.3.11 # LoadModule php4_module "C:\php\php-4.3.11\php4apache.dll" # PHP 5.1.1 # LoadModule php5_module "C:\php\php-5.1.1\php5apache.dll" # PHP 5.1.2 # LoadModule php5_module "C:\php\php-5.1.2\php5apache.dll"
Then I go to "Control Panel" > "Administrative Tools" > "Services", find the Apache service and restart it. It reloads it's configuration and I'm off to the races with the other version of PHP.
I considered writing a little .NET app to make the switch for me, but I don't do it often enough to warrant spending the time writing the app. Plus, I know what I'm doing well enough on Windows.
But I'd love it if Mac had something slick to use.
Before that, I said "I considered writing a little .NET app to make the switch for me, but I don't do it often enough to warrant spending the time writing the app"
So wait. You gave me the idea?
hahaha
www.mamp.info
latest apache, mysql, php4 and 5.
drag and drop install, its a great tool, and 100% free open source.