Computing.Net > Forums > Windows 2000 > php scripts on IIS not working

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

php scripts on IIS not working

Reply to Message Icon

Name: Zeeshan Javed
Date: August 10, 2003 at 10:58:57 Pacific
OS: Windows 2000
CPU/Ram: 256
Comment:

i have successfully installed PHP support on my IIS... i.e (PHP 4.3.2 installer [1,035Kb] - 29 May 2003
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
)
but now when i try to run any .php script on my IIS it doesn't work. it always gives me some error in the script , but all the scripts are working just fine on my Webhost Unix Server.
what should i do so that i can run all the PHP scripts on my local IIS.

someboady please help me as soon as possible

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: scott meves
Date: August 13, 2003 at 07:20:43 Pacific
Reply:

Zeeshan,

Open the PHP.INI-DIST file from C:\PHP folder,
locate
the following line

;cgi.force_redirect = 1

Uncomment this line and change the
setting to 0 as shown below. Save the file as
php.ini
in your windows folder (ie C:\WINNT )

cgi.force_redirect = 0

This should help.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: php scripts on IIS not working

logon script for Profile not working www.computing.net/answers/windows-2000/logon-script-for-profile-not-working/28338.html

DHCP not working on diff. subnets www.computing.net/answers/windows-2000/dhcp-not-working-on-diff-subnets/46361.html

problem with perl scripts on IIS. www.computing.net/answers/windows-2000/problem-with-perl-scripts-on-iis-/42154.html