MySQL Forums
Forum List  »  PHP

Re: PHP extension=php_mysql.dll not loading; cannot
Posted by: Enrique Garcia
Date: September 06, 2005 06:04PM

I expect to help some one with the same proble...

synthom...

it looks that php is not loading the php_mysql.dll or the php_mysqli.dll library...
and put every where all the dlls etc.. all kind of desperate actions.

Just read carefully, in the install file of php, looking for apache 2 issues, I read that:

Copy your chosen
ini-file to a directory that PHP is able to find and rename it to
php.ini. PHP searches for php.ini in the following locations (in
order):

* PHPIniDir directive (Apache 2 module only)
* HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath
* The PHPRC environment variable
* Directory of PHP (for CLI), or the web server's directory (for
SAPI modules)
* Windows directory (C:\windows or C:\winnt)

It seems that php will look for the file all the above around... but it doesn't, just put your php.ini in the same directory where the php is, or where you PHPIniDirective points to.

Of course this solve the problem for those that are useing PHP MYSQL with APACHE 2, as me.

nice phping.

Options: ReplyQuote


Subject
Written By
Posted
Re: PHP extension=php_mysql.dll not loading; cannot
September 06, 2005 06:04PM
September 13, 2005 03:53AM
October 06, 2005 12:37PM
October 06, 2005 12:59PM
November 26, 2005 07:15AM
December 25, 2005 12:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.