Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How to install PHP on TS 6.5 SP1 under WS 2003
ninickname
Hello,
the quest getting 6.5 running under Windows Server 2003 goes on :-)
This time I am trying to get PHP running (we do generate php pages instead of html) which seems to be open new problems.
After studying various documentations and tips on the web I believe I got quite close:
- PHP (4.3.4) is installed
- IIS6 PHP Web extension is set up (pointing to C:\php\php.exe
- Website application configuration is set to recognize php files
- Website (the iw-mount) allows scripts AND executeables
- Folder of php.exe can be accessed by IUSR_machinename (read this somewhere)
But I am still missing something. Whenever I try to call a simple phpinfo() page somewhere in a workarea I get an error message 404 (HTTP Status 404 - /iw-cc/doblob) from Tomcat (5.0.27):
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
--> At this point I am confused. Various sources say for enabling PHP under IIS6 the cgi.force_redirect in the php.ini must be set to 0 (actually it was already), so what does this error message tell me?
I also fooled a little around with php.ini's cgi.redirect_status_env (= "yes"), doc_root = "Y:\", user_dir = "Y:\" but nothing really helped....
Has anybody got PHP running on IIS6 with TS 6.5? Any hints greatly appreciated...
Regards
Find more posts tagged with
Comments
cc96ai
we have the problem on IIS 6.0 , PHP 4.3.11, TS 6.10
I am doing the test on it
create anoter website in IIS , (insteads using the "Default website")
which is working fine on the new site
we are still looking whats the different between two conflguration.
we comment these 2
; cgi.redirect_status_env = ;
; doc_root =
and this is by default empty.
user_dir =
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
ninickname
Update
I deinstalled the windows-installer-package and used the zip-package extracting everything in C:\php4 and assigning new windows environment variables.
Using the CGI executeable way (php.exe) I got php running for a simple test website in c:\inetpubetc...
The TeamSite webserver - although configured similar (mainly mapping .php to php.exe and allowing executeables to be executed) - presents still an error message: "No input file specified.". Seems like php can be *called*, but it can't execute any scripts on Y: (doc_root = "Y:\" didnt help).
Anybody has an idea?
Some side facts:
- php.ini is in C:\windows
- cgi.redirect is 0
- doc_root is left empty
cc96ai
I just fixed that problem.
try to do following setup
quote by user "Jane200452"
We had the same issue with TS6.1 and TS6.5 on win2k3 with IIS 6. Basically it is a problem with the IWOV IIS auto config script (the post reboot script). IWOV support is supposed to file a bug for this.
The only workaround I know is to delete your default website, then manually recreate one. After that re-create the iw-mount virtual directory. And manually configure it to allow anonymous access using the TSIMP_hostname user id. In our environment, you have to give this user id a password, too. Make sure this user id already exist on your local system and is in the TeamSite Web Preview group.
http://devnet.interwoven.com/forums/cgi-bin/showflat.pl?Cat=&Board=PRODUCTS_TEAMSITE&Number=52091&page=0&view=collapsed&sb=5&o=0&part=
Good luck
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std