ID:               29912
 Comment by:       ferik100 at flexis dot com dot br
 Reported By:      jbspam at pi dot be
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Windows 2003 Server
 PHP Version:      5.0.1
 New Comment:

I have searched the web, posted to discussion lists and basically done
my homework, but try as I may I've yet to find a solution to the
following problem.

I have recently installed MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on
a Windows XP SP 2 machine. (BTW, I've successfully installed and
configured Apache/MySQL/PHP dozens of times before under just about
every OS.) I uncommented the php_mysql.dll line in the php.ini file as
usual, but when I run any script that uses one of the mysql functions,
I get an error message that reads, for instance:

Fatal error: Call to undefined function mysql_connect() in...

In my case, I don't get any errors from Apache when the server is
started or re-started, but from what I've read here and there it seems
that this problem is linked to php_mysql.dll not being loaded properly.
I've checked my PATH (no MySQL doesn't come before PHP; in fact it's
not
even there), I've tried copying libmysql.dll and php_mysql.dll to
WINDOWS/SYSTEM32, and I've tried basically every other suggestion I've
read, but *nothing* works.

I see that this bug report has been dismissed as "bogus". Curiously
enough, lots of people out there seem to be having the same problem as
we are who were not having any problems before. I'm not of course
saying that the problem is "definitely" with PHP, but something funny's
going on...


Previous Comments:
------------------------------------------------------------------------

[2004-09-01 08:42:45] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2004-08-31 21:47:31] taomyn at myway dot com

I'd like to see some code to support this possible issue?

I have the same setup with IIS and PHP v5.0.1 running as and ISAPI
module, and seeing as the majority of my site uses MySQL I don't see
any problems - yet.

My server runs:

Windows 2003
IIS 6
PHP v5.0.1
MySQL 4.0.20d
Easysite 1.4
FlashChat 3.9
Gallery 1.4.4pl2

------------------------------------------------------------------------

[2004-08-31 13:39:46] jbspam at pi dot be

Description:
------------
I'm running Windows 2003 Server and IIS 6.0
When I install PHP as an CGI module (php-cgi.exe) then everything works
fine.
The MySQL extension is loaded and phpinfo() confirms that.

But when I use php5isapi.dll the MySQL module is not loaded.
Everything else works correct until I call a MySQL function.
Renaming the php_mysql.dll to php_mysql.bak so PHP can't find it
produces a startup error telling php_mysql.dll could not be found.
So, the PHP 5 ISAPI module finds the DLL but it doesn't seem to use it.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29912&edit=1

Reply via email to