From:             ferik100 at flexis dot com dot br
Operating system: Windows XP SP 2
PHP version:      5.0.2
PHP Bug Type:     Apache2 related
Bug description:  MySQL support (php_mysql.dll) not working

Description:
------------
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 bug report #29912 seems to be pretty similar to mine, but it's
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...


-- 
Edit bug report at http://bugs.php.net/?id=30406&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30406&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30406&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30406&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30406&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30406&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30406&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30406&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30406&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30406&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30406&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30406&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30406&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30406&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30406&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30406&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30406&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30406&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30406&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30406&r=mysqlcfg

Reply via email to