Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Xampp for a local dev server, I am trying to upgrade it so I can use the latest version of PHP.

I had it installed in my c drive c:\webserver\php

I just installed everything new in a new drive D


I then boot everything up and then I run phpinfo() and it is still showing my old version of PHP and even points to the old php installation C:\webserver\php\php.ini

Am I missing something obvious here?

share|improve this question
up vote 0 down vote accepted

Did you change the apache config to use the new PHP module instead of the old one? You're going to need the following in your httpd.conf:

LoadModule php5_module "D:/webserver/php/php5apache2.dll"
PHPIniDir "D:/webserver/php/"

...or something to that effect.

share|improve this answer

PHP (like many other applications) has a set of folders where it looks for the configuration file, documented in the manual.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.