|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP 5 on Win2003 Server
I have a problem installing PHP 5 on Win2003 Server-Web Edition. (PHP 5 downloaded from www.php.net)
I know the site was working fine with HTML pages, and I know that PHP was running from the command line, but every time I tried to hit a PHP page, it would give a 400 error. (Yes, even a page with "<?php print "Hello world!"; ?>" will give the error.) After re-imaging that machine to get a fresh install of IIS 6, I tried installing PHP 5 again with the same result. I tried mapping it manually per the installation document. Also tried using the Windows installer. In both instances, I was able to get the 'php-cgi.exe' to print its version of phpinfo() using 'php-cgi.exe -i'. Any php pages would give the 400 error. I have gotten PHP 4.3.9 to run like a charm (or as charming as a newb can make it run!), but I would like to run PHP 5, as that is what my PHP books refer to. Any help is greatly appreciated. |
|
#2
|
||||
|
||||
|
RE: PHP 5 on Win2003 Server
Hmmm strange, i have never really used IIS so i am assuming somewhere you would of set the location of the php parser. Double check that you have the correct location listed. I would pick apache any day over IIS but thats just me (and probably alot of people on codewalkers)
|
|
#3
|
|||
|
|||
|
RE: PHP 5 on Win2003 Server
*Sigh* I'd rather not have to go about running a whole other server...
If I were to go about setting up my server via Apache, which version of Apache and PHP is optimal? |
|
#4
|
||||
|
||||
|
RE: PHP 5 on Win2003 Server
Apache 1.3.x is optimal for php 5.
Apache Dont let what everyone else uses decide what you should use, the only reason i use apache over IIS or other software is that. I find it easy to install, configure and very stable. Apache 2.x.x seems to have problems with php 5 so you are advised not to run php 5 on apache 2 for the time being. Try getting an older version of IIS eg 5 or something because that might fix it. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP 5 on Win2003 Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|