You are here: Re: How do I get MySQL commands to work in PHP? « PHP SQL « IT news, forums, messages
Re: How do I get MySQL commands to work in PHP?

Posted by Jim Michaels on 02/23/06 10:47

"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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация