Lukey Posted May 16, 2007 Share Posted May 16, 2007 Hi there i've been trying to sort this problem out for hours now. I have read the sticky threads on enabling mysql support for php. So far i have changed the extension_dir to "C:\php\ext" which is correct, i have uncommented ( omitted the colon ) from extension=php_mysqli.dll and added extension=php_mysql.dll to check that also. On top of this i have copied php.ini to the windows directory and changed the PATH, also i have tried copying the libmysql.dll to the windows directory and the extension directory. Plus i have tried copying the php_mysqli.dll to the C:/php directory, then changed the extension_dir accordingly I have restarted apache each time. I cant for the life of me figure out why it wont pick up the extension in phpinfo(); Any help would be very much appreciated. Link to comment https://forums.phpfreaks.com/topic/51719-cant-get-mysql-extension-to-appear-in-phpinfophp/ Share on other sites More sharing options...
Caesar Posted May 16, 2007 Share Posted May 16, 2007 Best advise I can give you regarding the big picture....consider using PHP with Linux/Unix in the future. It is a much more beautiful experience. Link to comment https://forums.phpfreaks.com/topic/51719-cant-get-mysql-extension-to-appear-in-phpinfophp/#findComment-254771 Share on other sites More sharing options...
Lukey Posted May 16, 2007 Author Share Posted May 16, 2007 lol thanks but my major project is due on friday and i havent even started the coding yet. I thought db connection would be the least of my worries. Link to comment https://forums.phpfreaks.com/topic/51719-cant-get-mysql-extension-to-appear-in-phpinfophp/#findComment-254777 Share on other sites More sharing options...
Lukey Posted May 16, 2007 Author Share Posted May 16, 2007 Ok after 9 hours i fixed it. I did a search for libmysql.dll renamed the one in my php folder. Then i copied the original one from the mysql folder to apache/bin and the php folder and it solved the problem. Now i start the real hard stuff. Link to comment https://forums.phpfreaks.com/topic/51719-cant-get-mysql-extension-to-appear-in-phpinfophp/#findComment-254791 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.