Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL support for PHP5 in windows.

PHP & MySQL

MySQL support for PHP5 in windows.

by  skiflyer  Posted    (Edited  )
This information is scattered in a couple comments in the PHP manual, but as far as I can tell, it is not well documented. This may change once PHP5 is released.

Problem: When setting up a Windows/PHP5/MySQL/Apache I have correctly pointed the php.ini file to php_mysql.dll, but on apache start I get the error message "cannot find <path>/php_mysql.dll"

Solution: Apache is incorrectly identifying the dll it cannot find. It is actually looking for the libmysql.dll located in either your PHP root, or your extensions folder. Placing this file in either your SYSTEM32 folder, or your Apache root will fix the problem.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top