karstev Posted September 9, 2006 Share Posted September 9, 2006 Please does anyone have any ideas, I am banging my head against a wall, seems I have done all that is mentioned and still cant get php to communicate with mySQL - mys system info isPHP - 5.1.4 mySQL - 5.0Appache 2.2.3Windows XPSP2I 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 Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/ Share on other sites More sharing options...
hackerkts Posted September 13, 2006 Share Posted September 13, 2006 Are you using Wamp? If you are using it you don't need to change anything else..Just run both the services and your done.. Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-90983 Share on other sites More sharing options...
vbnullchar Posted September 25, 2006 Share Posted September 25, 2006 extension_dir = c:/phpext/ < try this Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-97970 Share on other sites More sharing options...
RandomZero Posted October 3, 2006 Share Posted October 3, 2006 I'm pretty sure I have the same problem.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? Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-103062 Share on other sites More sharing options...
vbnullchar Posted November 3, 2006 Share Posted November 3, 2006 uncomment the mysql extension in your php.ini fileextension=php_mysql.dllthen copy libmysql.dll from you php directory your system32 folder restart apache server... Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-118959 Share on other sites More sharing options...
Zane Posted November 3, 2006 Share Posted November 3, 2006 myself I don't put in it the Windows Dirswhen installing php I copy all the DLLs from the PHP folder to the Apache's bin folder as well as the php.ini fileand like vbnullchar said...you needto putextension_dir = c:/php/extin your Apache's http.conf filetry it that way and restart Apache and see how it goes.... Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-118975 Share on other sites More sharing options...
slythfox Posted December 15, 2006 Share Posted December 15, 2006 I'm having the same sort of issue. I'm creating my own WAMP because others aren't quite what I'm looking for. I've got everything working, except that I can't get the php extension to work. I've modified php.ini with extension_dir to ="./ext/" and have commented out both php_mysql.dll and php_mysqli.dll extensions, and also copied them to the root php dir. Everything suggested in this thread has been tried (well, almost).Using: php 5.2.0 and mysql 5.1.14-beta Quote Link to comment https://forums.phpfreaks.com/topic/20217-enable-mysql-support-in-php5/#findComment-141621 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.