lpglycerine Posted October 11, 2008 Share Posted October 11, 2008 I'm trying to use mysql_connect() and I realized that I can't get php_mysql.dll to load correctly. I've followed all the recommended steps to install extensions...any help please? ------------- Apache 2.2.9 PHP 5.2.6 I modified php.ini and removed the semicolon before php_mysql.dll. I am positive I'm modifying the correct php.ini file on the system (i realize some people have problems modifying the wrong one). When restarting the server the error log shows... .... PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext\\php_mysql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0 [Fri Oct 10 18:10:52 2008] [notice] Child 7696: Child process is running [Fri Oct 10 18:10:53 2008] [notice] Child 6320: Released the start mutex [Fri Oct 10 18:10:53 2008] [notice] Child 7696: Acquired the start mutex. [Fri Oct 10 18:10:53 2008] [notice] Child 7696: Starting 64 worker threads. [Fri Oct 10 18:10:54 2008] [notice] Child 6320: All worker threads have exited. [Fri Oct 10 18:10:54 2008] [notice] Child 6320: Child process is exiting [Fri Oct 10 18:10:54 2008] [notice] Child 7696: Starting thread to listen on port 80. php_mysql.dll is located in the c:/php/ext and c:/windows/ folders, and I've deleted every other instance of it on the computer. libmysql.dll is located in the c:/php/ and c:/windows/ folders, it was also deleted everywhere else on the computer. i've restarted the server numerous times... does anyone know if the php_mysql.dll extension works with the latest versions of php and apache? these were both installed from the latest versions found on the websites just a couple days ago, as was mysql... thanks for any help -lpg Quote Link to comment Share on other sites More sharing options...
lpglycerine Posted October 11, 2008 Author Share Posted October 11, 2008 I finally found the solution for this issue... http://www.phpbuilder.com/board/showthread.php?t=10354964 solution was strange, had to copy libmysql.dll into the apache 2.2 folder... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.