Error 500 using PHP on windows 2000

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
jim
Guest





PostPosted: Wed Nov 13, 2002 4:07 pm    Post subject: Error 500 using PHP on windows 2000 Reply with quote

I have tried to configure Abyss Web Server on win2k, but i have everytime
Error 500 Internal Server error.
Back to top
jim
Guest





PostPosted: Wed Nov 13, 2002 4:12 pm    Post subject: oops: i see the 500 error using php cgi scripts Reply with quote

i have configured abyss (http://www.aprelium.com/abyssws/php.html)
and the file/dirs protection in my windows 2000 server.
But after 10-15 seconds i see the 500 error, internal server error....

I have checked the php.ini and abyss.conf files.

It's all ok.

Why PHP do not work?

thanks
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Nov 13, 2002 4:31 pm    Post subject: Re: oops: i see the 500 error using php cgi scripts Reply with quote

jim wrote:
i have configured abyss (http://www.aprelium.com/abyssws/php.html)
and the file/dirs protection in my windows 2000 server.
But after 10-15 seconds i see the 500 error, internal server error....

I have checked the php.ini and abyss.conf files.

It's all ok.

Why PHP do not work?

thanks

A possible explanation is that your scripts takes a long time to execute (longer that CGI Timeout). That's why Abyss Web Server kills it and return error 500.
If your script is OK and if taking so long is a normal behavior, try increasing the value of the CGI Timeout paramter in CGI Parameters.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
jimoia
Guest





PostPosted: Thu Nov 14, 2002 4:17 pm    Post subject: Re: oops: i see the 500 error using php cgi scripts Reply with quote

aprelium wrote:
If your script is OK and if taking so long is a normal behavior, try increasing the value of the CGI Timeout paramter in CGI Parameters.


This is my script:

<?
print 1;
?>

I've tried to modify the timeout in Abyss configuration (CGI-parameters)
increasing to 120 seconds and the "max_execution_time = 30" line is
in php.ini.

I hear the hard-disk to run and run and to run and then (after 5-10 seconds) appears "Error 500"....

No errors registered in the Windows Events.
No errors in Abyss log file.

I have tried to "Resolve interpreter using the Windows Registry", associating
the .php extension to my php.exe.

it is possible that the reason is in the fact that is protections set up in wink2 server? I look it but nothing to do.

have another person with this problems in win2k server?

thanks still :D
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Nov 14, 2002 11:57 pm    Post subject: Re: oops: i see the 500 error using php cgi scripts Reply with quote

jimoia wrote:
aprelium wrote:
If your script is OK and if taking so long is a normal behavior, try increasing the value of the CGI Timeout paramter in CGI Parameters.


This is my script:

<?
print 1;
?>

I've tried to modify the timeout in Abyss configuration (CGI-parameters)
increasing to 120 seconds and the "max_execution_time = 30" line is
in php.ini.

I hear the hard-disk to run and run and to run and then (after 5-10 seconds) appears "Error 500"....

No errors registered in the Windows Events.
No errors in Abyss log file.

I have tried to "Resolve interpreter using the Windows Registry", associating
the .php extension to my php.exe.

it is possible that the reason is in the fact that is protections set up in wink2 server? I look it but nothing to do.

have another person with this problems in win2k server?

thanks still :D

That script is simple enough to not requiring a long time to execute so the problem is that the PHP interpreter seems to have a problem on your machine.
The problem doesn't come also from Win2K. We use machines on Win2K and they run with AByss+PHP with no problems (we even tested your script and it executes in no time.)
What we recommend is to open the command line and to run that script using the following command:
Code:
php myscript.php

There should be an output like what follows:
Code:

X-Powered-By: PHP/4.2.3
Content-type: text/html

1


If you don't get this, either send us the output you get or reinstall PHP.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group