Re: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oman, Gregg wrote:
1.) Uncommented the php_mysql.dll & php_mysqli.dll extensions in the php.ini file.

2.) Set the extension_dir = C: \PHP\ext in the php.ini and set the php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll (10-22-2006) in this directory. Libmysql.dll also resides under the Windows directory and is a copied file.

3.) Set an environment variable for the PATH to C:\Program Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program Files\PHP\

4.) Ran Dependency Walker against the php.exe and found all required .dlls to be present.

5.)     Ran phpinfo and find no reference to MySQL within it.

6.) PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache Version 2.2.4

7.)     Display_errors & Display_startup_errors= ON in php.ini.

Are you sure you edited the right php.ini? Check the output from phpinfo for where it's expecting to find it. Also you make no mention of restarting Apache after you modified the ini file.

-Stut

--
http://stut.net/

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux