PHP 500 Internal Server Error

Started by kh4it, April 08, 2015, 03:47:13 AM

Previous topic - Next topic

kh4it

Dear CWP,
I have some problem with access php file. when access php it shows 500 internal server error. I also try to follow this tip http://forum.centos-webpanel.com/php/suphp-500-internal-server-error/ but it's can't solve my problem. also when i see log file it show :
SoftException in Application.cpp:555 Directory /home is not owned by khomrean
Premature end of script headers : index.php

my question what is suitable solution with this problem? I also try to change chown but still the same. thanks in advance

brijendrasial


kh4it

Yes, I think this problem too, but i try to chown as in picture but still internal server error



after that


brijendrasial

Run the commands below

chown lawkhmer:nobody /home/lawkhmer/public_html
chown -R lawkhmer:lawkhmer /home/lawkhmer/public_html/*

kh4it

Yes, Already, but still Internal Server Error.

kh4it

Html I can access and see normally but if i open php file it show 500 internal error like that.

Here is the pic that i try with, but still error


brijendrasial

did you do chown lawkhmer:nobody /home/lawkhmer/public_html

kh4it


kh4it

In error_log it said like that Mismatch


brijendrasial

you need to contact your server administrator to help you further.

kh4it

This server I try to install my self. How can I do? Does it relate to any configuration?

brijendrasial

Well a server admin can look and sort issue. As I am not developer of the script, you need to contact CWP team to assist you. Also seems like they provided managed support for once time: http://centos-webpanel.com/support-services

kh4it


kh4it

It's work now. Because directory /home must be root:root