php-5.2.x Installation on Fedora

Today I was working on PHP upgrade on my servers. Basicaly I was moving everything from from php-5.1.x to php-5.2.x .

I was surprised to see ‘./configure’ error during PHP installation process:

configure: error: installation or configuration problem: C++ compiler cannot create executables.

After taking a closer look at configure.log I had more details:

gcc: installation problem, cannot exec `cc1plus': No such file or directory.

To resolve that problem I simply installed gcc-c++

yum install "gcc-c++"

It helped.

4 Responses to “php-5.2.x Installation on Fedora”

  1. vlad Says:

    Very good: thare are a lot of forums with a lot of talk about this issue and very very few of them give a usable answer. And here: exactly what is needed!
    Weeeeeeell done!

  2. Sean Says:

    Thanks as well. Google is a wonderful thing.

  3. Alexander Kasper Says:

    Thank you for your post. Just installing suphp and tried to compile php for the first time on a 64bit Opensuse 10.2. There it works also after gcc-c++ install :-)

  4. affordable individual health insurance Says:

    insurance health affordable north health insurance coverage affordable

Leave a Reply