473,324 Members | 2,193 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,324 software developers and data experts.

Installing PHP4.3 on Windows XP

Erm, help, chaps!

I'm trying to get PHP 4.3 working on Windows XP with IIS as server.
Was able to make the CGI installation program go through its hoops
(which I've done on various platforms before now), but this one
isn't working properly. I think the problem is that it's
not communicating with the IIS server correctly.

I have

extension_dir = "c:\php"
enable_dl = off
cgi.force_redirect = 0

I don't have any of the php_* extensions set. Anything with
domain name is set to localhost.

IIS services seem to be working. I can bring up the Microsoft
help page, and so forth. I did set IIS to start on boot.



Jul 17 '05 #1
1 4303

"JimC" <ji**@cross-comp.com> wrote in message
news:pF*****************@newssvr27.news.prodigy.co m...
Erm, help, chaps!

I'm trying to get PHP 4.3 working on Windows XP with IIS as server.
Was able to make the CGI installation program go through its hoops
(which I've done on various platforms before now), but this one
isn't working properly. I think the problem is that it's
not communicating with the IIS server correctly.

I have

extension_dir = "c:\php"
enable_dl = off
cgi.force_redirect = 0

I don't have any of the php_* extensions set. Anything with
domain name is set to localhost.

IIS services seem to be working. I can bring up the Microsoft
help page, and so forth. I did set IIS to start on boot.


I figured out one way to solve this. (Again, the problem is to
make PHP work under IIS 5 on a Windows XP platform.)

Go to Control Panel and choose Computer Management. (Alternately,
click right on My Computer and then select Manage.

Under Internet Information Service, find Web Sites -> Default Web Site.
Click right on this tab. Select Properties. Select the Home Directory
tab. Select Configuration. You will add a file extension type. Select
ADD. In the executable window, add the path to php.exe, which
for many users will be in the c:\php subdirectory. For extension,
put ".php" (without quotes), and select All Verbs. Select OK to
save the addition. Either stop and start your IIS service, or reboot.

The usual test is to use the phpinfo() function. That is, use Notepad
to create a file, say phpinfo.php containing one line:

<? phpinfo(); ?>

and save this in the Inetpub\wwwroot directory. Open a browser
and enter the URL

http://localhost/phpinfo.php

and the PHP start page should come up.

HTH!
Jim


Jul 17 '05 #2

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

Similar topics

0
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
3
by: Scott Matthews | last post by:
Hey all, I just tried installing PHP5 under IIS for the first time, but I can't seem to get the php.exe to work. I unzipped the package, and pointed the IIS .php 'executable' attribute over...
3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
3
by: Erick Howenstine | last post by:
I'm installing PhP5 on WinXP, with Apache2. In my Apache's httpd.conf file I have added LoadModule php5_module c:/php-5/php5apache2.dll and moved the .ini file to C:/Windows/php.ini Apache works...
2
by: Brad Shinoda | last post by:
I've been running apache and PHP by using apt-get packages for a long time now, and it's been working fine for me. But the other day I tried to get image functions working and hit a brick wall with...
0
by: Dave Pham | last post by:
I just cleaned my comp, and I am trying to re-config my webserver... I am trying to setup apache 2 so it runs both php4 and php5, I also have two instances of mysql running. I know this can be...
2
by: y_oda2002 | last post by:
Hi everyone I was wondering if anyone could help me. I am trying to install ph so that i can learn the code. So far i havent had any problem installing apache. However when i try to get mysql...
1
by: bissatch | last post by:
Hi, I have had to reinstall windows and at present I am currently trying to put back in place my apache2/php4 setup. I have installed apache and I get the http://localhost 'apache is...
3
by: masterx | last post by:
I developed and maintained a site for someone using Apache 1.3 and PHP 4.0.3 and used to be able to reference a page without explicitly specifying the .php extension. ie....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.