Re: windows 5.2.10 PHP not working with phpinfo
| From: | David Robley | Date: | Mon, 31 Aug 2009 08:54:44 +0000 |
| Subject: | Re: windows 5.2.10 PHP not working with phpinfo | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297501@lists.php.net to get a copy of this message | ||
hack988 hack988 wrote:
> Please set log_error=on,error_reporting=E_ALL,error_log=syslog in
> php.ini and then,see error detail in syslog.
>
> 2009/8/31 Fred Silsbee <fredsilsbee@yahoo.com>:
>> 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
>>
Hmm, if there is a 500 error there should be entries in the apache error log
which probably give a pointer to the problem.
Cheers
--
David Robley
"I'll pay off that customs official," said Tom dutifully.
Today is Pungenday, the 24th day of Bureaucracy in the YOLD 3175.