I am trying to install the following :- Apache 2.2.8 (64-Bit) MySQL Client 5.0 (64-Bit) PHP 5.2.5 (64-Bit) I managed to install Apache and MySQL Client using yum, but had to compile PHP 5.2.5 as the current yum package only list PHP 5.2.4. (Note: My manager insisted that I install these versions, ie. PHP 5.2.5, etc... so no point telling me to stick to the current older versions ) Anyway, everything goes smoothly with Apache and MySQL Client, but when I try to compile PHP, it gave me errors. This is how I compile PHP This is the error that I get .... I googled and found a site that suggested that I make the symlinks below and to change the compile options to --with-mysql=/opt This is the error that I get when I compile it after that. This is what is in config.log FYI, I installed the following MySQL packages using yum Anyone have any idea what I did wrong or is there any missing package that I should install first? It would be good if someone were to write a "Howto Guide" to install LAMP from source rather than using yum. I'm sure there are many who would like that as yum have its limitations, ie. older packages, etc... Thanks and hope someone can help me with this problem.