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 8262009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:36:57+00:00 2026-06-08T03:36:57+00:00

I try to upgrade my php from 5.3.13 to 5.4.5 I’ve manually download source

  • 0

I try to upgrade my php from 5.3.13 to 5.4.5
I’ve manually download source codes of php 5.4.5 and ./configure then sudo make install it.

after that, I run

php -v

it shows 5.4.5, while I run

<?php phpinfo(); ?>

it shows 5.3.13. what is the problem here and how to fix it. thanks

  • 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-08T03:36:59+00:00Added an answer on June 8, 2026 at 3:36 am

    This is a bit of a guess answer since I don’t have a mac, but based on my Winodws experience this could only happen if you have 2 php executables and your CLI is using one and Apache is using the other.

    In your phpinfo() output look for the table row Loaded Configuration File.

    I’m on Windows so mine says C:\server\php\5.4.3\php.ini but of course yours will be different.

    If this is not the path that you expect it to be using then you will need to make sure you change the path in your Apache’s httpd.conf file.

    Once you have found the httpd.conf file find the line: PHPIniDir

    When you have found this line make sure it is pointing at the correct directory for the php.ini file and restart Apache.

    I would also say to check the LoadModule php5_module line is also pointing at the correct file but the chances are that this will be ok if you were using php 5.3 before.

    This answer does assume that you have installed the new php version in a different directory but this is all I can think of with the information you have provided.

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

Sidebar

Related Questions

i try to upgrade my old existing app to make it a universal application
I followed iPad Programming Guide from Apple to try to upgrade one of my
I try to upgrade my application from rails 3.1.3 to rails 3.2.1 and I
Ive upgraded using buildout from 4.0.5 to 4.1.3, but when I try to upgrade
Python is on version 2.7.3, but when i try to upgrade python through pip
We're re-evaluating our database upgrade process for our application to try and remove the
I have Flexbuilder installed, with SDK 3.2. I wanted to try upgrade my SDK
I've recently decided to try an upgrade to 4.0. The only error I still
I upgraded php-common and php-devel packages on CentOS 5.3 system. Now, when I try
it's a v 1.4.1.1 Magento, upgraded from a v 1.3.2.4 When I try to

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.