Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
PHP
»
PHP 500 Internal Server Error
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP 500 Internal Server Error (Read 19313 times)
0 Members and 1 Guest are viewing this topic.
kh4it
Newbie
Posts: 11
PHP 500 Internal Server Error
«
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/
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
Logged
brijendrasial
Guest
Re: PHP 500 Internal Server Error
«
Reply #1 on:
April 08, 2015, 10:44:41 AM »
Looks like permission issue.
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #2 on:
April 08, 2015, 10:58:05 AM »
Yes, I think this problem too, but i try to chown as in picture but still internal server error
after that
Logged
brijendrasial
Guest
Re: PHP 500 Internal Server Error
«
Reply #3 on:
April 08, 2015, 11:04:46 AM »
Run the commands below
chown lawkhmer:nobody /home/lawkhmer/public_html
chown -R lawkhmer:lawkhmer /home/lawkhmer/public_html/*
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #4 on:
April 08, 2015, 11:07:13 AM »
Yes, Already, but still Internal Server Error.
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #5 on:
April 08, 2015, 11:09:41 AM »
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
Logged
brijendrasial
Guest
Re: PHP 500 Internal Server Error
«
Reply #6 on:
April 08, 2015, 11:12:00 AM »
did you do chown lawkhmer:nobody /home/lawkhmer/public_html
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #7 on:
April 08, 2015, 11:14:20 AM »
Yes, of course. but not effect
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #8 on:
April 08, 2015, 11:17:16 AM »
In error_log it said like that Mismatch
Logged
brijendrasial
Guest
Re: PHP 500 Internal Server Error
«
Reply #9 on:
April 08, 2015, 11:44:36 AM »
you need to contact your server administrator to help you further.
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #10 on:
April 08, 2015, 11:55:50 AM »
This server I try to install my self. How can I do? Does it relate to any configuration?
Logged
brijendrasial
Guest
Re: PHP 500 Internal Server Error
«
Reply #11 on:
April 08, 2015, 12:12:47 PM »
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
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #12 on:
April 08, 2015, 12:53:33 PM »
Anyway thank you.
Logged
kh4it
Newbie
Posts: 11
Re: PHP 500 Internal Server Error
«
Reply #13 on:
April 09, 2015, 03:41:02 AM »
It's work now. Because directory /home must be root:root
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
PHP
»
PHP 500 Internal Server Error