473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

problem with php 5 and MySQL?

Hello,

I have just tried to install and use MySQL v5.0.27 and php v5.2.1 on
my Windows XP Pro machine.

This is the second time I have tried and failed to get php v5.2.1 to
work with a local web site using IIS.

As soon as I try to run a php file I get "waiting for 127.0.0.1.." and
nothing happens.

I realise that php.ini has to be configured to work with MySQL and I
thought I had done this,

extension_dir = c:\php\ext
extension = php_mysql.dll

php.ini is in the c:\windows folder.

Any suggestions please?!

Cheers,

Geoff
Mar 6 '07 #1
5 1370
Geoff Cox wrote:
Hello,

I have just tried to install and use MySQL v5.0.27 and php v5.2.1 on
my Windows XP Pro machine.

This is the second time I have tried and failed to get php v5.2.1 to
work with a local web site using IIS.

As soon as I try to run a php file I get "waiting for 127.0.0.1.." and
nothing happens.

I realise that php.ini has to be configured to work with MySQL and I
thought I had done this,

extension_dir = c:\php\ext
extension = php_mysql.dll

php.ini is in the c:\windows folder.

Any suggestions please?!

Cheers,

Geoff
Geoff,

It works fine here. Did you also add the correct isapi filter to your
IIS extension (and tell it to parse .php files)?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 6 '07 #2
On Tue, 06 Mar 2007 13:37:15 -0500, Jerry Stuckle
<js*******@attglobal.netwrote:
>I realise that php.ini has to be configured to work with MySQL and I
thought I had done this,

extension_dir = c:\php\ext
extension = php_mysql.dll

php.ini is in the c:\windows folder.

Any suggestions please?!

Cheers,

Geoff

Geoff,

It works fine here. Did you also add the correct isapi filter to your
IIS extension (and tell it to parse .php files)?
Jerry,

Not sure what you mean by isapi filter?

I did register php.exe as an application in IIS.

Cheers

Geoff
Mar 6 '07 #3
Geoff Cox wrote:
On Tue, 06 Mar 2007 13:37:15 -0500, Jerry Stuckle
<js*******@attglobal.netwrote:
>>I realise that php.ini has to be configured to work with MySQL and I
thought I had done this,

extension_dir = c:\php\ext
extension = php_mysql.dll

php.ini is in the c:\windows folder.

Any suggestions please?!

Cheers,

Geoff
Geoff,

It works fine here. Did you also add the correct isapi filter to your
IIS extension (and tell it to parse .php files)?

Jerry,

Not sure what you mean by isapi filter?

I did register php.exe as an application in IIS.

Cheers

Geoff
Ah, that's the difference. I use PHP as an ISAPI extension instead.

Not sure what it's called in XP, but look in the Properties box for your
IIS server. You probably have a tab with something like "ISAPI
Filters". It goes in there. The DLL is (path)/php5isapi.dll and your
APP mappings should point at the same DLL for the .php extension.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 6 '07 #4
On Tue, 06 Mar 2007 17:06:38 -0500, Jerry Stuckle
<js*******@attglobal.netwrote:

>Ah, that's the difference. I use PHP as an ISAPI extension instead.

Not sure what it's called in XP, but look in the Properties box for your
IIS server. You probably have a tab with something like "ISAPI
Filters". It goes in there. The DLL is (path)/php5isapi.dll and your
APP mappings should point at the same DLL for the .php extension.
OK - thanks Jerry - will give it a go.

Cheers

Geoff
Mar 7 '07 #5
On Tue, 06 Mar 2007 17:06:38 -0500, Jerry Stuckle
<js*******@attglobal.netwrote:

>Ah, that's the difference. I use PHP as an ISAPI extension instead.

Not sure what it's called in XP, but look in the Properties box for your
IIS server. You probably have a tab with something like "ISAPI
Filters". It goes in there. The DLL is (path)/php5isapi.dll and your
APP mappings should point at the same DLL for the .php extension.
Thanks Jerry - will give this go!

Cheers

Geoff
Mar 14 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Duane Winner | last post by:
Hello all - I'm having a small problem with the mysql startup script that ships with MySQL-3.23.56-1. I'm running on RedHat Linux. It works fine, but I have a backup server that runs a script...
0
by: Tiffany Wilkes | last post by:
I solved the problem--I needed ( ) around the column list. I think the manual should make that more clear. -------- Original Message -------- Subject: column privilege problem Date: Tue, 05...
0
by: Annie Xie | last post by:
1> anyone has a compiled tarball for mysql new version (-4.0 up) for solaris 2.6 can be shared? The OS was patched latest. 2> I'm trying build it, configure w/o any problem. However, when dong...
0
by: Gary Cote | last post by:
>Description: I've recently compiled mysql 4.0.14 on redhat 8.0. The installation fails, however, when running mysql_install_db. I've attached a transcript below. I gather from searching the...
4
by: Amadeus | last post by:
Hello Everybody! I have a problem with MySQL servers running RedHat 9 (smp kernel 2.4.20) on Intel and MySQL server 4.0.14 (problem also appears on binary distr 4.0.15 and on 4.0.15 I bilt myself...
1
by: smsabu2002 | last post by:
Hi, I am facing the build problem while installing the DBD-MySql perl module (ver 2.9008) using both GCC and CC compilers in HP-UX machine. For the Build using GCC, the compiler error is...
1
by: Lynton Towler | last post by:
Hello and thanks for reading this message. I have a Virtual Learning Environment (VLE) called "moodle 1.5.2" running on a server with 1Gb of RAM and MySQL version 4.1.13-1 which has been...
3
by: Juan Antonio Villa | last post by:
Hello, I'm having a problem replicating a simple database using the binary log replication, here is the problem: When the master sends an update to the slave, an example update reads as follows:...
4
jepler
by: jepler | last post by:
I find myself in a circular reference loop that I can't seem to resolve. I recently upgraded from MySQL 4.0.x to MySQL 4.1.21 on OS 10.3.9 Server. Then, I *thought* I set my open master root password...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.