MarkMan5 Posted March 6, 2007 Share Posted March 6, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/41485-how-to-install-php-mysql-module-linux/ Share on other sites More sharing options...
abhi Posted March 9, 2007 Share Posted March 9, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/41485-how-to-install-php-mysql-module-linux/#findComment-203191 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.