ServerTune

Browse by category

Search    |    Advanced search

Call to unsupported or undefined function mysql_connect

If you get this error:

Call to unsupported or undefined function mysql_connect();

That means the Php-MySQL RPM is not installed. To install php-mysql module:

cPanel/whm, you can compile Apache/Php with MySQL either using the WHM and/or the following command at the prompt:

DirectAdmin, you can compile Php with MySQL at the prompt using the following commands:

Generic Linux Server, you can install php-mysql at the prompt using the following commands:

 
 
Add comment
 
Views: 2693
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS