|
-
May 21st, 2009, 03:20 AM
#1
Thread Starter
Hyperactive Member
php_mysql and php_mysqli will not register
Hello,
I am running Windows XP Pro, IIS 5.01, PHP 5.2.2, MySQL 5.
I am receiving the error 'Fatal error: Call to undefined function mysql_connect()' for this line of code:
Code:
$cn = mysql_connect($host,$user,$password);
The variables are all correct and the user and password were created using MySQL Admin.
The extensions for both of these files have been activated within the PHP.ini file on C:\ (root).
I have created the database from the MySQL console using SQL commands and can also see it via MySQL Admin.
Both the php_mysql.dll and php_mysqli.dll file are contained in the C:\Windows\System32 folder.
When I run regsvr32 php_mysqli.dll I am returned with Load Failed the file cannot be found.
I installed PHP using the unzip method as I recall I had some installation issues with PHP with the installer version. I can think this is now the only course of action I have left to get PHP talking to MySQL unless some wise soul here knows where I have gone wrong.
Kind regards
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|