PDA

View Full Version : Really NEED help with PHP


jbenalluch
1-3-02, 05:25 AM
Hi, i keep getting 500 Internal Server Error no matter what i do or put on my file... i changed my htdocs folder to mode 755 and it still doesn't work.
I really don't know what to do and why it doesn't work;

when i look at the error logs i get this:

[Wed Jan 2 17:16:17 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php
failed to open log file
fopen: Permission denied
[Wed Jan 2 17:16:20 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php
[Wed Jan 2 17:16:41 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php
[Wed Jan 2 17:17:31 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php
[Wed Jan 2 17:17:34 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php
[Wed Jan 2 17:20:13 2002] [error] [client 67.161.44.26] Premature end of script headers: /www/p/pi2korg/htdocs/tst.php

Please help me with this!

Thanks

wwuud
1-4-02, 05:08 AM
oops... false alarm... all my ideas were already covered in the other thread...
http://forum.powweb.com/showthread.php?s=&threadid=828

The ASCII upload is most important. BTW, if your file worked in /htdocs without the #!/usr/local/bin/php , then you are NOT running the CGI version of php and should not need it anywhere...

Post back here if still having problem....

Peace,
- Earl