Jump to content

Cant get mysql extension to appear in phpinfo.php


Lukey

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.