Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • The easy way would be to compile PHP 5.5 and install it over 5.4. The RPM likely installs to a different folder. Commented Jun 19, 2013 at 19:12
  • If you haven't already deleted the directory where you built from source, and if you let make install choose the target directory, it might have ended up in /usr/local/bin, which usually has precedence over /usr/bin, hence you still use the first php binary found in your PATH. You could try make -n install and see where and what it wants to install stuff, and remove by hand. Untested and dangerous, of course. Commented Jun 19, 2013 at 19:14
  • @dawud Yes, i actually ended up doing it this way. I was just wondering if for future reference there might be a better, safer way Commented Jun 19, 2013 at 19:16
  • 1
    If the Makefile provides the means, then yes. Always generate packages, even for upstream built sources. Commented Jun 19, 2013 at 19:18
  • 1
    OP, I blew away your question as it was asked to make it trigger less votes to close. It was a legitimate question masked behind a lot of extra words.. Commented Jun 19, 2013 at 19:28