php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36181 Don't work mysql
Submitted: 2006-01-27 19:32 UTC Modified: 2006-01-28 23:33 UTC
From: nerta at yauza dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.1.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nerta at yauza dot com
New email:
PHP Version: OS:

 

 [2006-01-27 19:32 UTC] 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_


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-28 21:50 UTC] 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-28 23:33 UTC] derick@php.net
User error, so marking as "Bogus"
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 22:00:02 2025 UTC