windows 5.2.10 PHP not working with phpinfo
| From: | Fred Silsbee | Date: | Sun, 30 Aug 2009 20:05:51 +0000 |
| Subject: | windows 5.2.10 PHP not working with phpinfo | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-297495@lists.php.net to get a copy of this message | ||
I got 5.3 working but found out there was no php_mssql.dll for it.
Somebody (who didn;t know) said I had to return to 5.2.8 but I found no 5.2..8 so I am trying 5.2.10
_________________________________________problem:
under IE8:
http://72.47.28.128:8080/phpinfo.php
with:
<?php
phpinfo();
?>
I get :
The website cannot display the page
HTTP 500
Most likely causes:
•The website is under maintenance.
•The website has a programming error.
___________________________________________
I installed :
php-5.2.10-Win32-VC6-x86.zip and put php.ini in C:\PHP and C:\PHP\ext
AND C:\WINDOWS, C:\WINDOWS\system and C:\WINDOWS\system32
I installed FastCGI 1.5 !
In php.ini I put :
________________________________
cgi.force_redirect = 0 // for CGI
extension_dir = "C:\PHP\ext"
commented out
;doc_root = "C:\inetpub\wwwroot" // for IIS/PWS
leaving
doc_root =
_________________________________________________
IIS 5.1 properties->configuration I added .php C:\PHP\php5ts.dll
GET,HEAD,POST,DEBUG
Maybe php-win.exe
_________________________________________________
I added to the XP Prof environment path ;C:\PHP\;C:\PHP\ext\
I created an environment variable (and rebooted) PHPRC = C:\PHP;C:\PHP\ext
I never found any statement of the necessity of requiring CGI
The instructions ramble around