Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9080421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:04:21+00:00 2026-06-16T20:04:21+00:00

Back in November I installed my own PHP setup, for version 5.4.9. I thought

  • 0

Back in November I installed my own PHP setup, for version 5.4.9. I thought I had removed it, but apparently not. In December I reinstalled it with yum install php54, and all its packages.

Now I have a problem where CLI seems to be using the custom PHP install, and the main site is using the yum install. I want both the CLI and the site to use the yum install, which is now 5.4.10.

When I do php -v in the CLI, it shows 5.4.9, so I do know it is using the wrong PHP install. This is causing a lot of issues because the custom install didn’t have mysqli installed with it, and it had ftp disabled.

Does anyone know how I can remove the custom install and relink the CLI to the new yum install?

I am using CentOS.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T20:04:22+00:00Added an answer on June 16, 2026 at 8:04 pm

    How did you install the “custom” one? This is a very broad question, but here’s some general advice:

    Where is it installed? which php can tell you. You can use this to figure out how to uninstall it. For instance, it could be in /usr/local or /opt.

    Then, edit your $PATH variable to put the place where the PHP you want is before the one you don’t want. This will make the PHP you want run first, at least.

    If you compliled the custom PHP, you might be able to remove it with something like make uninstall.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Back in MVC3, I had a custom ControllerFactory which would use my own container
Back in the old days, Help was not trivial but possible: generate some funky
back in school, we wrote a compiler where curly braces had the default behavior
Back in 2012, I had some Google Apps Script code for a poker game:
Back to this query again. So I thought I was doing this correctly with
Back when migration version numbers were simply incremented as you created migrations, it was
Back in the days Netscape had a feature that allowed you to remote-control a
Back in C I had a custom black red tree implementation to store/insert/search/etc a
Back in the past I learned a lot about CSS but now I can't
back = $(#contactus_+id).prev(); I'm probably asking a simple question, but how do I get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.