If you are getting the errors in apache logs like below in cPanel/WHM web hosting
[Mon Oct 02 08:29:33.684683 2017] [core:error] [pid 24787:tid 140323590199040] [client 91.73.173.118:50064] End of script output before headers: index.php [Mon Oct 02 08:29:34.812915 2017] [:error] [pid 9068:tid 140323474810624] [client 91.73.173.118:50065] SoftException in Application.cpp:388: GID of script "/index.php" is smaller than min_gid [Mon Oct 02 08:29:34.812981 2017] [core:error] [pid 9068:tid 140323474810624] [client 91.73.173.118:50065] End of script output before headers: index.php [Mon Oct 02 08:29:34.817808 2017] [:error] [pid 9068:tid 140323474810624] [client 91.73.173.118:50065] SoftException in Application.cpp:388: GID of script "index.php" is smaller than min_gid
most probably the file user or group ownership has been changed of that file to root.
root@x.com [directory]# ls -lrt | grep "index.php" total 48000 -rw-r--r-- 1 abc_user root 1782 Oct 2 07:10 index.php
Now change the ownership back to current user is the fix
Like in /home/abc_user/public_html/
the user will be ‘abc_user
‘
root@x.com [directory]# sudo chown abc_user:abc_user index.php
This is how you can fix above mentioned problem.
The above fix will also work for below mentioned error
[Mon Oct 02 08:30:52.056769 2017] [core:error] [pid 24787:tid 140323474810624] [client 91.73.173.118:51627] End of script output before headers: index.php [Mon Oct 02 08:30:52.062511 2017] [:error] [pid 24787:tid 140323474810624] [client 91.73.173.118:51627] SoftException in Application.cpp:456: Mismatch between target GID (501) and GID (99) of file "index.php" [Mon Oct 02 08:30:52.062577 2017] [core:error] [pid 24787:tid 140323474810624] [client 91.73.173.118:51627] End of script output before headers: index.php [Mon Oct 02 08:30:54.060966 2017] [:error] [pid 24729:tid 140323464320768] [client 154.122.107.180:33276] SoftException in Application.cpp:456: Mismatch between target GID (501) and GID (99) of file "index.php", referer: http://m.facebook.com/
If you are working with MySQL or MariaDB web server, sooner or later you will…
To edit the crontab entries you use crontab -e. The command will check for the…
Installation method for COMODO SSL Certificate If you have generated the CSR and purchased or…
In AWS S3, you might want to provide the access to selected users to selected…
It's possible you have earlier generated a ssh key without password/ passphrase. Later you found…
If you are working on Linux OS, finding files effectively always a tricky part. Like…