mhodgson Posted September 11, 2007 Share Posted September 11, 2007 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? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 11, 2007 Share Posted September 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
mhodgson Posted September 11, 2007 Author Share Posted September 11, 2007 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.