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.

Link to comment
Share on other sites

Hello

 

If you can tell me the server details i can help you. You can reach me at mailtoabhijith@yahoo.com. 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

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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