Home > Archive > PHP SQL > February 2006 > How do I get MySQL commands to work in PHP?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How do I get MySQL commands to work in PHP?
|
|
| Tony Peardon 2006-01-28, 7:56 am |
| Well, I've got MySQL and PHP both working, but they are not working
together. I did some research onlne, and discovered that MySQL support is
not enabled by default, and I found instructions for enabling them, but they
were for linux and I'm on a windows machine, and they were a little bit
cryptic. Since it stands to reason than many of you have already dealt with
this issue, I thought I'd ask. Could someone please help me. It would be
greatly appreciated. Thanks.
| |
| J.O. Aho 2006-01-28, 7:56 am |
| Tony Peardon wrote:
> Well, I've got MySQL and PHP both working, but they are not working
> together. I did some research onlne, and discovered that MySQL support is
> not enabled by default, and I found instructions for enabling them, but they
> were for linux and I'm on a windows machine, and they were a little bit
> cryptic. Since it stands to reason than many of you have already dealt with
> this issue, I thought I'd ask. Could someone please help me. It would be
> greatly appreciated. Thanks.
Easy google usage gives many links to documentation that has to do with
installing php/apache/mysql on microsoft environments, here is one
http://www.webmasterstop.com/48.html
If you will use the machine for more than just playing around, I do strongly
suggest you look at the *nix solutions like linux.
//Aho
| |
| jahoor 2006-02-02, 7:01 pm |
|
"Tony Peardon" <rWorldDesigns@yahoo.ca> schreef in bericht
news:tnICf.202866$OU5.4567@clgrps13...
> Well, I've got MySQL and PHP both working, but they are not working
> together. I did some research onlne, and discovered that MySQL support is
> not enabled by default, and I found instructions for enabling them, but
they
> were for linux and I'm on a windows machine, and they were a little bit
> cryptic. Since it stands to reason than many of you have already dealt
with
> this issue, I thought I'd ask. Could someone please help me. It would be
> greatly appreciated. Thanks.
>
>
>
| |
| Jim Michaels 2006-02-23, 3:56 am |
|
"Tony Peardon" <rWorldDesigns@yahoo.ca> wrote in message
news:tnICf.202866$OU5.4567@clgrps13...
> Well, I've got MySQL and PHP both working, but they are not working
> together. I did some research onlne, and discovered that MySQL support is
> not enabled by default, and I found instructions for enabling them, but
> they
> were for linux and I'm on a windows machine, and they were a little bit
> cryptic. Since it stands to reason than many of you have already dealt
> with
> this issue, I thought I'd ask. Could someone please help me. It would be
> greatly appreciated. Thanks.
>
>
>
if you are using the command-line, you need to create a PHP.INI from one of
the samples.
then you'll find out the extension lines are coded wrong because the DLLs
are installed in the ext subdirectory. try
extension=ext/php_mysql.dll
instead of the INI's default
extension=php_mysql.dll
MySQL then works great.
if you are using XAMPP (includes web server)
http://www.apachefriends.org/en/xampp.html , you won't have to mess with
this stuff. just plug and go.
|
|
|
|
|