jotate Posted September 24, 2007 Share Posted September 24, 2007 Basic LAMP set up (CentOS, Apache2, MySQL 4.1.2, PHP4). It was set up by not me, so I'm struggling through config files trying to pin point why certain things aren't working. Basically, PHP isn't recognizing the MySQL functions. Looking at phpinfo(), there's very little mention of mySQL. Configuration command has '--with-mysql=shared,/usr' and dbx shows MySQL is a supported database. Not that I suspect this will make anything more clear, but just a simple test file yields: Fatal error: Call to undefined function: mysql_connect() in test.php on line 6. Any ideas where I should look? Any links to detailed troubleshooting tutorials for setting up php/mySQL. Most of what I've found either just start from the initial installation or offer simply "Now, you should be able to see that it works." Not very helpful. :-\ Quote Link to comment https://forums.phpfreaks.com/topic/70524-php-not-recognizing-mysql-installation/ Share on other sites More sharing options...
fenway Posted September 24, 2007 Share Posted September 24, 2007 You should look at the sticky in the child board of this forum. Quote Link to comment https://forums.phpfreaks.com/topic/70524-php-not-recognizing-mysql-installation/#findComment-354270 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.