Jump to content

Recommended Posts

Hi all,

 

I've upgraded my PHP from v5.2.3 to v5.2.10, and encountered something strange, which hopefully some of you have encountered before and found a fix. Here's the details.

 

Environment

Windows Server 2003 Enterprise Edition

Apache 2.2.11

PHP 5.2.3 -> 5.2.10

 

What I did to upgrade

1. Get the zipped binary version of PHP v5.2.10 for Windows from php.net.

2. Unzip the file in 1) to D:\PHP\5.2.10

3. Copy the php.ini file from my existing v.5.2.3 installation (located in D:\PHP\5.2) to the unzipped installation in 2).

4. Back-up the 5.2.3 installation.

5. Renamed D:\PHP\5.2.10 to D:\PHP\5.2

6. Restart Apache (which is using the PHP installation in D:\PHP\5.2)

 

What's strange

1. Apache started up correctly without any errors.

2. I could also run PHP scripts hosted by the Apache server.

3. However when I tried to run phpinfo(), the script tells me that I'm still using v5.2.3!

4. I ran "php -version" on a cmd window in D:\PHP\5.2 and confirmed that the PHP installation there is indeed v5.2.10.

5. Also checked that the version of D:\PHP\5.2\php5apache2_2.dll is v5.2.10

6. Re-booting didn't help either.

7. Deleting the v5.2.3 installation completely didn't help either.

8. I've also checked for any installations elsewhere, and there are no other installations of PHP elsewhere.

 

Does anyone have any ideas what else I might be missing here? I've previously upgraded PHP from v5.1.4 to v5.2.3 and did not encounter this. So seems strange that this would happen with this upgrade.

 

Appreciate any help with this. Thanks!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.