Php-apache-mysql in mac os x
I design sites so I want to know if I have to download and install mysql-apache-php on mac, because untill now my experience is from windows.
Somebody told me that some components are built-in mac os, but I am not sure what is ready to run or not.
What do I have to do in order to have my system ready for web development with minimum problems?
Somebody told me that some components are built-in mac os, but I am not sure what is ready to run or not.
What do I have to do in order to have my system ready for web development with minimum problems?
Comments
Otherwise, if you're like me, you can compile your own versions of Apache and PHP from source using the terminal.
http://movielibrary.lynda.com/html/modPage.asp?ID=145
Click on "installing on mac" as well as "site configuration" those are free tutorials, but you need to sign up to view all of them.
If you want PHP 5 instead you should download and install Marc Liyanage's package from entropy.ch. I believe it also configures itself with apache and will work immediately after installation without any config tweaking.
Getting MySQL installed is also a simple affair. MySQL provides double-click installers that you can download from their website for versions 4.0, 4.1, and 5. It even includes a System Preference to turn the DB on and off. In all cases all the standard command line stuff is still installed. If you want to start/stop mysql with calls to mysqladmin go for it.
Now if you want to be super elite, you can also compile and install Zend's PHP Optimizer and eAccelerator, an open source PHP accelerator which compiles and caches your scripts in memory for a huge performance boost among other features. This is a topic for another post though...