Building a PHP 5 web server with MySQL 5 support isn't as easy as it seems. PHP 5 doesn't come with embedded support for MySQL, making it tricky to compile PHP 5. Read this step-by-step tutorial and avoid all the pitfalls you may face.
Here is a snippet:
"Building a PHP 5 web server with MySQL 5 support isn't as easy as it seems. We know this by heart: we spend literally a whole day last week trying to do this. The main problem is that PHP 5 doesn't come with embedded support for MySQL and MySQL 5 does not provide a separated stand-alone client module ready for downloading and installing. In this step-by-step tutorial we will show you how to compile and install Apache 2, PHP 5 with MySQL 5 support and PHP optimization and caching system (Xcache) on Linux, so you will be able to build your own web server in a matter of minutes - and not hours like happened to us."
You can check it out at Hardware Secrets.
How to Build a Web Server with PHP 5 and MySQL 5 Support
Posted on Saturday, April 21 2007 @ 5:20 CEST by Thomas De Maesschalck