#42757 [Opn->Fbk]: Mysql doesn't load php_mysql.dll
ID: 42757
Updated by: jani@php.net
Reported By: nektarin at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Win XP
PHP Version: 5.2.4
New Comment:
And you have replaced the existing dlls with the ones that come with
the snapshot package?
Previous Comments:
------------------------------------------------------------------------
[2007-09-25 14:58:53] nektarin at gmail dot com
Still doesn't work with latest release (5.2.5-dev). It has the same
symptoms; the php_mysql.dll does not load. phpinfo() has no information
on mysql except the one in my PATH string...
Again, if I copy the php_mysql.dll from the PHP 5.2.2 release to the
/ext folder of the PHP 5.2.5-dev installation, everything works like a
charm.
------------------------------------------------------------------------
[2007-09-25 14:43:24] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-09-25 12:17:20] nektarin at gmail dot com
Description:
------------
I get "Fatal error: Call to undefined function mysql_connect()" when
using php 5.2.4 with the distributed php_mysql.dll.
When I change to the
php_mysql.dll from PHP 5.2.2 it works perfect. Ie. Everything is php
5.2.4 except that I am using the php_mysql.dll from PHP 5.2.2
Reproduce code:
---------------
$db = mysql_connect("localhost","root","");
Actual result:
--------------
Fatal error: Call to undefined function mysql_connect()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42757&edit=1
Thread (9 messages)