How do I get MySQL commands to work in PHP?
How do I get MySQL commands to work in PHP?
am 28.01.2006 12:15:37 von Tony Peardon
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.
Re: How do I get MySQL commands to work in PHP?
am 28.01.2006 12:56:23 von Shion
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
Re: How do I get MySQL commands to work in PHP?
am 02.02.2006 15:49:07 von jahoor
"Tony Peardon" 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.
>
>
>
Re: How do I get MySQL commands to work in PHP?
am 23.02.2006 09:47:36 von Jim Michaels
"Tony Peardon" 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.