#36181 [Opn->Bgs]: Don't work mysql

From: Date: Sat, 28 Jan 2006 22:33:47 +0000
Subject: #36181 [Opn->Bgs]: Don't work mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92585@lists.php.net to get a copy of this message
ID: 36181 Updated by: derick@php.net Reported By: nerta at yauza dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows PHP Version: 5.1.2 New Comment: User error, so marking as "Bogus" Previous Comments: ------------------------------------------------------------------------ [2006-01-28 21:50:55] nerta at yauza dot com 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#92585) next »