PHP & mySQL Win 2003 Install

This is a discussion on PHP & mySQL Win 2003 Install within the alt.comp.lang.php forums, part of the PHP Programming Forums category; OK, I can compile and install without issue on linx/unix. However, trying to bring up a WAMP server is ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-19-2005
Bob Johnson
 
Posts: n/a
Default PHP & mySQL Win 2003 Install

OK, I can compile and install without issue on linx/unix. However,
trying to bring up a WAMP server is causing me fits.

I can get PHP 5.05 installed and running. I can get mySQL 4.0.14
installed and running directly.

BUT, PHP won't recognize mySQL so I can't call it from PHP. I've
googled and googled to no avail.

Any help much appreciated!
Reply With Quote
  #2 (permalink)  
Old 09-19-2005
sumeet
 
Posts: n/a
Default Re: PHP & mySQL Win 2003 Install

Bob Johnson wrote:
> OK, I can compile and install without issue on linx/unix. However,
> trying to bring up a WAMP server is causing me fits.
>
> I can get PHP 5.05 installed and running. I can get mySQL 4.0.14
> installed and running directly.
>
> BUT, PHP won't recognize mySQL so I can't call it from PHP. I've
> googled and googled to no avail.
>
> Any help much appreciated!


run a phpinfo and check if the mysql support has been complied correctly.

--with-mysqli' '--with-mysql=/usr'

check the mysql options also.

Also check if mysql is active and working correctly by running it from
DOS. In windows, u have to check 'services' to see if mysql is installed
as a service and starts at startup

sumeet
Reply With Quote
  #3 (permalink)  
Old 09-19-2005
Bob Johnson
 
Posts: n/a
Default Re: PHP & mySQL Win 2003 Install

In article <dgmn9s$km9$1@domitilla.aioe.org>, sumeet
<sumeet72@gmail.com> wrote:

> Bob Johnson wrote:
> > OK, I can compile and install without issue on linx/unix. However,
> > trying to bring up a WAMP server is causing me fits.
> >
> > I can get PHP 5.05 installed and running. I can get mySQL 4.0.14
> > installed and running directly.
> >
> > BUT, PHP won't recognize mySQL so I can't call it from PHP. I've
> > googled and googled to no avail.
> >
> > Any help much appreciated!

>
> run a phpinfo and check if the mysql support has been complied correctly.
>
> --with-mysqli' '--with-mysql=/usr'
>
> check the mysql options also.
>
> Also check if mysql is active and working correctly by running it from
> DOS. In windows, u have to check 'services' to see if mysql is installed
> as a service and starts at startup
>
> sumeet


Thanks.

On Windows, it's not compiled so don't have the with-mysql=/usr' option.

mySQL is running fine - it's accessible via sql tools.

just not via PHP.
Reply With Quote
  #4 (permalink)  
Old 09-19-2005
Rauch Christian
 
Posts: n/a
Default Re: PHP & mySQL Win 2003 Install

Bob Johnson schrieb:
> In article <dgmn9s$km9$1@domitilla.aioe.org>, sumeet
> <sumeet72@gmail.com> wrote:
>
>
>>Bob Johnson wrote:
>>
>>>OK, I can compile and install without issue on linx/unix. However,
>>>trying to bring up a WAMP server is causing me fits.
>>>
>>>I can get PHP 5.05 installed and running. I can get mySQL 4.0.14
>>>installed and running directly.
>>>
>>>BUT, PHP won't recognize mySQL so I can't call it from PHP. I've
>>>googled and googled to no avail.
>>>
>>>Any help much appreciated!

>>
>>run a phpinfo and check if the mysql support has been complied correctly.
>>
>>--with-mysqli' '--with-mysql=/usr'
>>
>>check the mysql options also.
>>
>>Also check if mysql is active and working correctly by running it from
>>DOS. In windows, u have to check 'services' to see if mysql is installed
>>as a service and starts at startup
>>
>>sumeet

>
>
> Thanks.
>
> On Windows, it's not compiled so don't have the with-mysql=/usr' option.
>
> mySQL is running fine - it's accessible via sql tools.
>
> just not via PHP.


I know, sounds like a stupid one, but:

have you edit your php.ini and searched for the mysql module?
is it deactivated out or not?

-rauch
Reply With Quote
  #5 (permalink)  
Old 09-19-2005
sumeet
 
Posts: n/a
Default Re: PHP & mySQL Win 2003 Install

Bob Johnson wrote:
> In article <dgmn9s$km9$1@domitilla.aioe.org>, sumeet
> <sumeet72@gmail.com> wrote:
>
>
>>Bob Johnson wrote:
>>
>>>OK, I can compile and install without issue on linx/unix. However,
>>>trying to bring up a WAMP server is causing me fits.
>>>
>>>I can get PHP 5.05 installed and running. I can get mySQL 4.0.14
>>>installed and running directly.
>>>
>>>BUT, PHP won't recognize mySQL so I can't call it from PHP. I've
>>>googled and googled to no avail.
>>>
>>>Any help much appreciated!

>>
>>run a phpinfo and check if the mysql support has been complied correctly.
>>
>>--with-mysqli' '--with-mysql=/usr'
>>
>>check the mysql options also.
>>
>>Also check if mysql is active and working correctly by running it from
>>DOS. In windows, u have to check 'services' to see if mysql is installed
>>as a service and starts at startup
>>
>>sumeet

>
>
> Thanks.
>
> On Windows, it's not compiled so don't have the with-mysql=/usr' option.
>


u need to compile with mysql modules so as to enable u you to integrate
it with mysql.

download an already compiled version of php for windows, and install it
in your system by simply unzipping it and check if it works....

sumeet shroff

> mySQL is running fine - it's accessible via sql tools.
>
> just not via PHP.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0