Jump to content

Recommended Posts

I have PHP 5.1.4, apache 2.2 and mysql 5.0.22 running on Windows XP. Works great!

 

However when I upgrade to PHP 5.2.4 I cannot load the mysql extension. Paths must be correct because the GD2 and MBstring extensions load fine (according to phpinfo page) just the mysql one won't load. Works fine again when I revert to PHP 5.1.4!!!!!!!

 

I have tried a manual upgrade and automatic install usin the PHP install package. I even tried downloading the php files from different sites but nothing works.

 

Any ideas?

To upgrade PHP it is simple. Just download the latest version of PHP (making sure you download the zipped binaries package and not the installer) and just extract the contents of zip to where PHP is currently installed making sure you overwrite existing files/folders. Thats it PHP is now upgraded.

 

make sure you don't any files such as libmysql.dll or php_mysql.dll stored in other places on your hard drive. Make sure these files are only available in PHP's installation folder and MySQL's installation folder. Do a file search for these files.

That is exactly what I have been doing since PHP 4.x.x B ut you were right about the rogue dll. Must have left them from a prvious installation. Removed them, upgraded and bingo it works.

 

Thanks for the help, it's often the little/easy things we miss.

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.