ID:               36181
 User updated by:  nerta at yauza dot com
 Reported By:      nerta at yauza dot com
 Status:           Open
 Bug Type:         MySQL related
 Operating System: Windows
 PHP Version:      5.1.2
 New Comment:

My problem was solve. It was not problem in php self. It was problem
with php.ini location.

If somebody has problem with extensions, first of all check for correct
extension_dir and check what php.ini load (phpinfo() help to do this)

I am sorry for my "bug"

Nerta


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

[2006-01-27 19:32:43] nerta at yauza dot com

Description:
------------
Operation sistem is Windows XP SP2

I had read all bugs and comments about this topic. It's not help me.

My configuration:
Apache 1.3.34/ PHP 5.1.2/ MySQL 5.0.18

php was installed as module
php.ini:

extension_dir = "D:\MyPrograms\php5\php\ext"
extension=php_mysql.dll

php_mysql.dll is in folder D:\MyPrograms\php5\php\ext
libmysql.dll is in folder D:\MyPrograms\php5\php
last i add to Path

also i try to put libmysql.dll to C:\Windows\system32 and to directory
with Apache

>From http://snaps.php.net/ i get today version
php5.1-win32-200601271530.zip
But mysql don't works




Reproduce code:
---------------
$LinkId = mysql_connect($host, $user, $pwd);

Expected result:
----------------
Fatal error: Call to undefined function mysql_connect() in _FILE_ on
line _LINE_



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


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

Reply via email to