Jump to content

How to install php mysql module (Linux)


Recommended Posts

Apologies for starting yet another discussion on this.  I've been pulling my hair out trying to get this LAMP configured properly.

 

Here is the server/app info:  RedHat centOS 4.4, Apache 2, mysql 5.0 (server,client,shared), php 4.3.9, perl 5.8.5

 

I'm not able to access the MySQL db via php because commands such as 'mysql_connect' are not recognized.  Running php -m indicates that the mysql module is not loaded.  The php.ini file has been reviewed (as I've read so much about) to point to the correct extension directory and module, but there does not seem to be a "mysql.so" file installed to point to.

 

So... how can I get the php mysql module installed and loaded?

 

Any help would be greatly appreciated!  Thanks in advance.

Hello

 

If you can tell me the server details i can help you. You can reach me at [email protected]. The problem seems to be that php is not compiled with mysql support. from PHP 5 onwards mysql is not supported by default.

 

Thanks,

Abhi

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.