Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: php - How to add mySQL extension |
|
Author |
|
seoph
Joined: 03 Aug 2006 Posts: 1 Location: philippines
|
Posted: Thu 03 Aug '06 5:36 Post subject: php - How to add mySQL extension |
|
|
Help me please!
I have followed all the instructions posted on this page http://www.apachelounge.com/viewtopic.php?t=570, and it found me very terriffic my Apache/2.2.3 (Win32) PHP/5.1.4 actively working. But the sad thing was when i've tested the phpinfo.php no mysql extension been enable... so what i did i goto C:\php5\php.ini to enable the said extension
extension=php_mysql.dll (remove comment ";") but again it doesn't show up or still the extension is disable...
How can I enable that mysql extension to make the server totally 100% working?
Please help me... Thank you! |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Thu 03 Aug '06 8:04 Post subject: |
|
|
I trust that you copied the httpd.exe.manifest to the PHP folder.
Since you did not mention it:
Note: Anytime you make changes to either the Apache CONF or the php.ini you must Stop Apache (or Restart) for changes to take effect.
If the extension still does not load...Try this:
Copy the libmySQL.dll in C:\Program Files\MySQL\MySQL Server 5.0\bin (or wherever you installed MySQL Server) to C:\php5. If Apache is running either Stop then Start, or perform a Restart.
Please let me know if this works and I'll add to my original post.
Thanks!
..
. |
|
Back to top |
|
arrow21987
Joined: 14 Aug 2006 Posts: 5
|
Posted: Mon 14 Aug '06 16:58 Post subject: |
|
|
i am having the same problem... i did in fact copy the httpd.exe.manifest file to the php folder, i copied the libmySQL.dll file to the php folder also. and the folder is in the path... it still gives me a "cannot load extension" error
so is there anything else i should be doing? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 14 Aug '06 17:01 Post subject: |
|
|
Copy libmySQL.dll to Apache\bin folder, than it should work. |
|
Back to top |
|
|
|
|
|
|