Could not connect to MySQL with suPHP
Hello,
I have the same issue too. I've tested a lot of things and finally founded out it's related to suphp handler. When I use cgi, I haven't any mysql connection error but once I change handler to suphp, many websites specially they're include Joomla are faced mysql connection errors are as bellows:
Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.
Error displaying the error page: Application Instantiation Error: The MySQL adapter mysqli is not available
I've tested so many ways to change MySQL password/username/db/hostname but didn't effect to solve this issue. So I ask you please check in-dept if there a chance to solve this issue is?
Thanks.
-
We have done all these steps already, But it's not working anymore. We have figured out that it's suPHP related issue. Especially in Joomla. Because after we activate suPHP, Following error will be received if "$dbtype" set to be "mysqli" in configuration.php : Error displaying the error page: Application Instantiation Error: The MySQL adapter mysqli is not available
But after "$dbtype" set to be "mysql" in configuration.php, This error will happen:Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.
So would you offer a solution to fix this issue with suPHP activated, please? We are using easyapache 4 with PHP and mySQL 5.6 on this server.0 -
Hello, This topic answered on the following thread: MySQL extension missing Let us know if this helps. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments