By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,815 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

Installation question MS IIS

P: n/a
Ike
Can someone please confirm the following for me. If I am installing php (4
or 5) on Windows (with IIS) and I am NOT using the Windows installer, but
instead the windows php*.zip installation, I need only

1. Unzip the file to a directory. (say...c:\php)
2. Create my php.ini, and if I put it in c:\php I am ok(?)
3. Configure IIS for php.

Is that it? I mean, can someone confirm for me that this is all (in a
nutshell) I need to do get php (basically) running on a Windows IIS machine?
Thanks Ike
Jun 21 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
NC
Ike wrote:

Can someone please confirm the following for me. If I am
installing php (4 or 5) on Windows (with IIS) and I am NOT
using the Windows installer, but instead the windows php
*.zip installation, I need only

1. Unzip the file to a directory. (say...c:\php)
2. Create my php.ini, and if I put it in c:\php I am ok(?)
3. Configure IIS for php.

Is that it?


More or less... The actual configuration, however, will depend on
whether you are installing PHP as a CGI binary, or with the ISAPI
module. For more information, see the Manual:

http://www.php.net/manual/en/install.windows.iis.php

Cheers,
NC

Jun 21 '06 #2

P: n/a
NC wrote:
Ike wrote:

Can someone please confirm the following for me. If I am
installing php (4 or 5) on Windows (with IIS) and I am NOT
using the Windows installer, but instead the windows php
*.zip installation, I need only

1. Unzip the file to a directory. (say...c:\php)
2. Create my php.ini, and if I put it in c:\php I am ok(?)
3. Configure IIS for php.

Is that it?
More or less... The actual configuration, however, will depend on
whether you are installing PHP as a CGI binary, or with the ISAPI
module. For more information, see the Manual:

http://www.php.net/manual/en/install.windows.iis.php


One other thing to watch: userpermissions.
PHP runs typically on M$ under IIS as user IUSR_<machinename>.
Make sure that user has the rights to read all needed files.
That user also needs writepermission on a temp directory where sessions are
stored, and any other directory you want to use for writing.

use php_info(); to test your installation.
Also make sure you have 1 php.ini file, saves a headache later on.

You do not need to restart the server, only IIS to test your new
configurations.

Regards,
Erwin Moller
Cheers,
NC


Jun 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.