Server 2
Centos 7 64 bit
httpd (Apache) Server version: Apache/2.4.6 (CentOS)
PHP 5.4.16 (cli) (built: May 12 2016 13:45:17)
Copyright © 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2013 Zend Technologies
I am Getting 500 Internal Server Error on this Server
here is some log information
[Sat Jun 11 11:46:36.638416 2016] [:error] [pid 26521] [client 172.16.0.120:33368] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:46:38.737766 2016] [:error] [pid 26527] [client 172.16.0.120:33371] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:46:46.087735 2016] [:error] [pid 18859] [client 172.16.0.120:33383] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:46:47.692867 2016] [:error] [pid 29466] [client 172.16.0.120:33384] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:47:40.107802 2016] [:error] [pid 28109] [client 172.16.0.120:33393] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:47:41.945022 2016] [:error] [pid 28110] [client 172.16.0.120:33394] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:51:43.258101 2016] [:error] [pid 28112] [client 172.16.0.120:33410] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:51:47.287041 2016] [:error] [pid 28113] [client 172.16.0.120:33411] PHP Fatal error: mbstring lib (PHP extension) is required for Sitecake to run. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 23
[Sat Jun 11 11:51:56.687904 2016] [:error] [pid 28345] [client 172.16.0.120:33413] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:51:57.517847 2016] [:error] [pid 28346] [client 172.16.0.120:33414] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:53:17.017208 2016] [:error] [pid 28347] [client 172.16.0.120:33423] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:53:17.730973 2016] [:error] [pid 28348] [client 172.16.0.120:33424] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:54:20.511294 2016] [:error] [pid 28349] [client 172.16.0.120:33431] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:00.504828 2016] [:error] [pid 28438] [client 172.16.0.120:33435] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:01.147256 2016] [:error] [pid 28439] [client 172.16.0.120:33436] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:01.574208 2016] [:error] [pid 28440] [client 172.16.0.120:33437] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:01.925260 2016] [:error] [pid 28441] [client 172.16.0.120:33438] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:02.058318 2016] [:error] [pid 28442] [client 172.16.0.120:33439] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:02.695858 2016] [:error] [pid 28438] [client 172.16.0.120:33440] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:03.277337 2016] [:error] [pid 28439] [client 172.16.0.120:33441] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:14.120435 2016] [:error] [pid 28440] [client 172.16.0.120:33442] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:30.869858 2016] [:error] [pid 28441] [client 172.16.0.120:33443] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:32.122864 2016] [:error] [pid 28442] [client 172.16.0.120:33444] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
[Sat Jun 11 11:55:37.878313 2016] [:error] [pid 28535] [client 172.16.0.120:33445] PHP Fatal error: Root site directory have to be readable and writable. in /var/www/hidden/public_html/sc/sitecake/2.3.2/config/check.php on line 29
After installing the mbstring lib PHP extension it gave me issues about the directories being readable and writable so i tried to chmod -R 777 and still got a 500. Checking the Selinux policy now. for a confliction
[root@server2 resources]# setenforce 0
[root@server2 resources.]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
It appears that setting selinux into permissive mode (not reccomended) Fixed the Problem on server 2
So i would reccomend if you are using SELinux to relabel the security context on the sitecake directory
https://wiki.centos.org/HowTos/SELinux#head-0f6390ddacfab39ee973ed8018a32212c2a02199