Brendude Posted April 3, 2011 Share Posted April 3, 2011 MySQL Client Version: 5.1.50-community PHP Version: 5.3.5 Apache Version: 2.2.17 Okay, I am trying to get MySQL to cooperate with PHP. All of my attempts have been unsuccessful. Before you post a reply, please note I have taken these steps before I posted this topic: 1. My libmySQL.dll is in both my php and C:\Windows folder 2a. (Mental note: my installation directory is C:\Program Files\Apache 2.2\php\ext) 2b. The extension_dir in my php.ini file is as follows: extension_dir = "C:\Program Files\Apache 2.2\php\ext" 3. The php.ini file is also in the C:\Windows folder. 4. The extensions that are enabled for php are as follows: [php_MYSQL] extension=php_mysql.dll [php_MYSQLI] extension=php_mysqli.dll [php_PDO_MYSQL] extension=php_pdo_mysql.dll 5. Any section referencing to MySQL in my php info is not showing up. 6. I have tried replacing my php_mysql.dll, didn't work either. Okay, so when I try to install my forums for my website, it returns with this error: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache 2.2\htdocs\forum\upload\includes\class_core.php on line 312 Please notify me of anything that has or will work(ed). Quote Link to comment https://forums.phpfreaks.com/topic/232599-fatal-error-call-to-undefined-function-mysql_connect/ Share on other sites More sharing options...
Pikachu2000 Posted April 3, 2011 Share Posted April 3, 2011 http://www.phpfreaks.com/forums/index.php?topic=126354.0 Quote Link to comment https://forums.phpfreaks.com/topic/232599-fatal-error-call-to-undefined-function-mysql_connect/#findComment-1196380 Share on other sites More sharing options...
Brendude Posted April 4, 2011 Author Share Posted April 4, 2011 I believe I said I finished those steps and that I also said that you should look at that before you replied. Thanks for trying. Quote Link to comment https://forums.phpfreaks.com/topic/232599-fatal-error-call-to-undefined-function-mysql_connect/#findComment-1196425 Share on other sites More sharing options...
Pikachu2000 Posted April 4, 2011 Share Posted April 4, 2011 Did you read both threads that are linked to in that post? There are a lot more than just the six things you listed in there. Quote Link to comment https://forums.phpfreaks.com/topic/232599-fatal-error-call-to-undefined-function-mysql_connect/#findComment-1196437 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.