Jump to content

Fatal Error: Call to undefined function mysql_connect()


Brendude

Recommended Posts

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).

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.