RE: No communication between PHP 5.0.3 +MySQL 4.1.9 on Windows XP Pro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Call to undefined function" always means that the function is not available
to php.  Have you verified that PHP is actually loading the .dll's -- call
phpinfo().

What you don't say is whether or not you are using ISAPI for CGI.  Besides
that, extension dll's are normally located in the "extensions" subdirectory
of your PHP folder, not the base PHP directory.  Check your php.ini and
verify that the extension_dir setting is the full path to the "extensions"
directory (*not* "./").

-----Original Message-----
From: J A Brown [mailto:jab-webmaster@xxxxxxxxxxx] 
Sent: Sunday, January 16, 2005 10:40 AM
To: php-windows@xxxxxxxxxxxxx
Subject:  No communication between PHP 5.0.3 +MySQL 4.1.9 on
Windows XP Pro


Will somebody please help me!!!

I'm trying to set up my web server for PHP and MySQL. I've installed PHP
5.0.3 and it works fine. I've installed MySQL 4.1.9 and it works fine. BUT,
I can't access MySQL from PHP. I have put the php_mysqli.dll and
libmysql.dll in the C:\PHP folder, removed the ';' from the beginning of the
extension=php_mysqli.dll line in php.ini, but I just can't get the two
talking to one another.

I just get the following message:
Fatal error: Call to undefined function mysqli_connect() in
c:\Inetpub\wwwroot\stmary1\administration\handle_rotas.php on line 30

In my php file, line 30 reads:
$connection = mysqli_connect($host,$user,$password);

with each variable being defined already.

I'm using IIS 5 as my webserver.

Please can somebody help.

James Brown

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux