![]() |
Plesk 9.5 databases broken on PHP 5.3 upgrade
I tried to upgrade a Plesk 9.5.5 Windows server to PHP 5.3.x this morning, and I don't think it can be done.
This server has two main applications on it: vBulletin and WordPress. - vBulletin simply gave a "Internal Server Error"(error 500). - Looking from the server itself, you got "Fatal error: Call to undefined function mysql_connect()" - WordPress gave "Your PHP installation appears to be missing the MySQL extension which is required by WordPress" on one version. - An older version of WordPress gave "Error establishing a database connection." Here's the troubleshooting steps I took. - Enabling the MySQL extensions made no difference. - Verified the "extension_dir" and it was set properly to "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\ext" - Tried the "old" PHP 5.2.17 php.ini, and it failed. - Even tried both new ones that came with PHP 5.3 -- with edited extensions entries, of course -- and it made no difference. The php was there, and would see MySQL in the info file, but refused to work in the actual apps. Code:
<?php
That works perfectly fine to upgrade PHP 5.2.x versions. But seemingly not to upgrade to 5.3.x I even rebooted the whole server, to no avail. :wall2: The version used was PHP 5.2.17 nts (non-thread safe), as stated by the WinCache requirements. And the new failed attempt was for PHP 5.3.21, current as of today, Feb-17-2013. More info on thread-safe vs. non thread-safe here: http://www.iis-aid.com/articles/my_w..._safe_binaries So that failed. I don't understand why. :wall1: So it's being left on PHP 5.2.17 for now. I guess the whole thing as to be upgraded, not just PHP. |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.