Enable MySQL Support in PHP5!
Posted 09 September 2006 - 11:42 AM
PHP - 5.1.4
mySQL - 5.0
I have updated my php.ini, set up the extension_dir = c:\php\ext (yes this path exists), uncommented extension=php_myql.dll.
placed the php.ini in my windows directory (just incase)as I updated my environment variable path to include c:\php, and this is confirmed when viewing my phpinfo. Copied the libmysql.dll to my windows directory, also put it in the system32 directory just to be sure. Made sure I stopped and restarted the server, heck I even shut down windows and restarted just to be sure..
Should I use another version of appache.
I know this has been posted many times but have been through all of recommended changes and cant seem to fix this issue.
Hope some one can help
Posted 13 September 2006 - 12:36 PM
Just run both the services and your done..
To be a coder, you must learn how to think and not to give up so easily.
Posted 03 October 2006 - 01:53 PM
I'm using pretty much the same setup as you (Apache 2.2.3, PHP 5.2, MySQL 5.0.24a on WinXP SP1) and I'm unable to get PHP and MySQL to work together.
Have you found a solution to this problem?
Posted 03 November 2006 - 06:51 AM
when installing php I copy all the DLLs from the PHP folder to the Apache's bin folder as well as the php.ini file
and like vbnullchar said...you need
extension_dir = c:/php/ext
in your Apache's http.conf file
try it that way and restart Apache and see how it goes....
Posted 15 December 2006 - 07:31 AM
Using: php 5.2.0 and mysql 5.1.14-beta
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users