Hello, world!
Have been working on it forever, and haven't been able to enable MySQL in PHP yet. I know that you have to un-comment the extensions php_mysql.dll and php_mysqli.dll, but they don't exist. Where can I download them, or am I misunderstanding something?
Thanks!
MySQL Disabled by default -- How to enable?
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: MySQL Disabled by default -- How to enable?
Check you PHP directory in the "ext" folder for the files. If they exist, then just add the lines necessary to your php.ini file.
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: MySQL Disabled by default -- How to enable?
That's the problem. Neither the folder ext/ or php_mysql.dll exist. Would you happen to know of a place to download them?
Thanks again!
Thanks again!
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: MySQL Disabled by default -- How to enable?
You should set the extension path to the "ext/" directory inside the directory containing PHP (I assume you unzipped PHP somewhere?). The php_mysql.dll will be in the PHP directory.
(#10850)
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: MySQL Disabled by default -- How to enable?
On Windows, so used the installer. Is that bad?
Thanks
Thanks
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: MySQL Disabled by default -- How to enable?
Not sure, I've never used the installer. Download the .zip package from php.net and they will be included in there.
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: MySQL Disabled by default -- How to enable?
Okay. It'll take a while (dial-up
) Thanks for your help. 