johnyred

Registered
Apr 24, 2006
2
0
151
Hi,

I'm testing cpanel. I have a fresh install of the latest version of Cpanel and suse linux 10.0. I can't run php scripts on the server without a 500 internal server error.

I see on the forum many threads on this but I don't use php suexec for now. I have the default configuration.

I had try to change the permission to 755.

WHM 10.8.0 cPanel 10.8.2-R73
SuSE 10.0 i686 - WHM X v3.1.0

I know I'm a noob but I not able to find the problem;). Anyone have any suggestions?

Thank you!
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
johnyred said:
I'm testing cpanel. I have a fresh install of the latest version of Cpanel and suse linux 10.0. I can't run php scripts on the server without a 500 internal server error
Did you check the log files for any errors?
 

johnyred

Registered
Apr 24, 2006
2
0
151
Apache error log:

[Sun May 7 15:50:35 2006] [error] [client [IP]] Premature end of script headers: [my file]


I don't find anything else in other log files.

The php script run correctly on other server.
 

adv-server

Member
May 5, 2006
16
0
151
if this problem for a few sites

try disable Frontpage Extension (( uninstall ))


if for all sites you have many solutions :

make apache update but do not select PHP Suexec

OR IN SHH

type

chmod 644 /etc/passwd
or type

chmod 700 /usr/bin/perl
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
johnyred said:
Apache error log:

[Sun May 7 15:50:35 2006] [error] [client [IP]] Premature end of script headers: [my file]

I don't find anything else in other log files.
Did you check on all modules? Are they working properly? Did you check on all files uid.gid? If none of the suggestions in this thread helps, I suggest you hire a sys admin.
 

katmai

Well-Known Member
Mar 13, 2006
572
4
168
Brno, Czech Republic
/scripts/easyapache - try recompiling apache and see what goes to result.
 
N

NoAgendas

Guest
Same problem here

Premature end of script headers

phpsuexec enabled / centos 4.3 / cpanel 10x stable
 

shamrocks

Member
Jul 23, 2006
21
0
151
The forums on our website have been working fine since created, and then today when I go to log on I get the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.xhl.biz Port 80
any ideas what I can or should do to fix this?
 

shamrocks

Member
Jul 23, 2006
21
0
151
In addition to this I went to my error_Log and found this:

[16-Aug-2006 21:58:53] PHP Warning: MAX_FILE_SIZE of 6144 bytes exceeded - file [avatar=C:\Documents and Settings\Compaq_Owner\My Documents\SteelHabs.png] not saved in Unknown on line 0
Would that have anything to do with it?