Thursday, October 6, 2011

Install PHP on Windows, Linux, MacOS

This post is about how to install a ready-working PHP environment on different OS.

Personally, I prefer a full package to install one by one package. This mean, there're some pre-built solution for PHP, MySQL, Apache just install and run.

For Windows machine, download Appserv, install and got everything people want to start working with PHP.

MacOS, after a few days struggle with package installation, I found MAMP is acceptable.

Linux, here are a good guide

Moreover, you may want to build a virtual machine (CentOS for example) on Windows machine. Download and install PHP, mysql, apache on that centos, and then access it from your Windows machine. This will let you use eclipse on windows to modify the source on run on centos. It's good in some ways, especial to people who stick with windows but still want to use PHP on Linux.


No comments:

Post a Comment