Control Web Panel
WebPanel => PHP => Topic started by: kh4it on April 08, 2015, 03:47:13 AM
-
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/ (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
-
Looks like permission issue.
-
Yes, I think this problem too, but i try to chown as in picture but still internal server error
(http://limhong.kh4it.com/image/data/2015-04-08_175418.png)
after that
(http://limhong.kh4it.com/image/data/2015-04-08_175438.png)
-
Run the commands below
chown lawkhmer:nobody /home/lawkhmer/public_html
chown -R lawkhmer:lawkhmer /home/lawkhmer/public_html/*
-
Yes, Already, but still Internal Server Error.
-
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
(http://limhong.kh4it.com/image/data/2015-04-08_180753.png)
-
did you do chown lawkhmer:nobody /home/lawkhmer/public_html
-
Yes, of course. but not effect
(http://limhong.kh4it.com/image/data/2015-04-08_181313.png)
-
In error_log it said like that Mismatch
(http://limhong.kh4it.com/image/data/2015-04-08_181604.png)
-
you need to contact your server administrator to help you further.
-
This server I try to install my self. How can I do? Does it relate to any configuration?
-
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
-
Anyway thank you.
-
It's work now. Because directory /home must be root:root