php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31414 Fail Loading Extensions
Submitted: 2005-01-05 02:43 UTC Modified: 2005-01-05 06:19 UTC
From: xfuture00 at hotmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.3 OS: WIN XP PRO
Private report: No CVE-ID: None
 [2005-01-05 02:43 UTC] xfuture00 at hotmail dot com
Description:
------------
I want to run a open source website testing on my localhost..

First, I was failed to load PHP 4.3.x with Apache 2.0.x, then i switch to PHP 5.0.x (which i installed both installer and zip files) and Apache was successfully loaded.
Then i wish to use MySQL as my database system, i knew that the PHP 5 did not load the extension as well, so i did changed few lines in php.ini 

; Directory in which the loadable extensions (modules) reside.
extension_dir ="C:\PHP\ext"
&&&&&&&&&&&&&
uncomment: extension=php_mysql.dll

And when the time i restart apache 2.0, The Mysql extension was failed to load.

on the other side, i have uncomment mbstring.dll and gd2.dll ..and these 2 extensions are able to load!! 

so in my opinion, there is an error with php_mysql.dll ,
i have uploaded a reference picture into free web.

http://xfuture.freeserverhost.com/fail.JPG

and my MySQL version is 4.1.2 .

Thanks for helping and looking forward your replies.

Reproduce code:
---------------
; Directory in which the loadable extensions (modules) reside.
extension_dir ="C:\PHP\ext"
&&&&&&&&&&&&&
uncomment: extension=php_mysql.dll

Expected result:
----------------
Load Successfully


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-05 06:19 UTC] jed@php.net
This is because php_mysql.dll depends on libmysql.dll (the REAL module it can't find), please re-read the installation instructions and consult Google before posting bugs.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 08 05:00:01 2025 UTC