For web development testing environment is very important. When you work on a local server it saves money (hosting) as well as errors, you can view product privately before launching into world wide web.
For PHP, you can easily set PHP server on Mac OS X. Zend Server is a PHP server for Mac that makes your task easy. To install just download the .dmg file from Zend Server site. Zend Server is very flexible, you can install Zend server on Mac OS X, Windows and Linux.
First you need to create account in the Zend Server using free version to download. Always download the latest version of PHP for stable performance. The installation procedure is normal easy to configure. After successful installation Zend Server located in “/usr/local/zend/apache2/htdocs”. You can access the web server using address “localhost:10088″ on your browser and admin, configuration is available at “localhost:10081″.