PHP compile error on CentOS Install
July 15, 2007 – 9:13 pmI installed CentOS 5 on my VMWare a few days ago. I installed gcc via yum, compiled and installed libxml2. I then tried to install PHP 5.2.3 and received this error:
configure: error: installation or configuration problem: C++ compiler cannot create executables.
It took me forever to figure this out, but I had to install the g++ library, then it compiled fine.
yum install gcc-c++



2 Responses to “PHP compile error on CentOS Install”
Thanks. This entry saved me an ass-load of time…had the same problem, and like you said, gcc-c++ fixed it. Owe some props to google, too.
By A-non-e-mus on Aug 30, 2007
thanks
By Rick on Feb 16, 2008