Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How do I get MySQL commands to work in PHP?
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.




Report this thread to moderator Post Follow-up to this message
Old Post
Tony Peardon
01-28-06 12:56 PM


Re: How do I get MySQL commands to work in PHP?
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 th
ey
> 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 wi
th
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
J.O. Aho
01-28-06 12:56 PM


Re: How do I get MySQL commands to work in PHP?
"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.
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
jahoor
02-03-06 12:01 AM


Re: How do I get MySQL commands to work in PHP?
"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.



Report this thread to moderator Post Follow-up to this message
Old Post
Jim Michaels
02-23-06 08:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP SQL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:31 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.