Setting up the technology stack is usually the first stumbling block encountered while developing with PHP and MySQL. The common practice is to use Apache web server as the HTTP gateway. Setting up these three components separately is not a trivial task because of the variety of configuration parameters, file system paths and launch options involved.
To mitigate this, many a software provider have come up with pre-integrated Apache, PHP and MySQL distributions that require much less effort in configuration and setup. Usually called a LAMP (acronym for Linux, Apache, MySQL and PHP) or WAMP in case of windows, these bundles provide an accelerated approach for newbies who have embarked on the PHP track.
Simplicity notwithstanding, most LAMP/WAMP implementations still include certain limitations when it comes to extreme portability, configurability and custom integration. A separate discussion of these limitations is beyond the scope of this article. Instead, we shall guide you through a step-by-step approach to creating your own integrated, flexible and redistributable AMP environment from scratch. Read the rest of this entry »