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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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! |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|