Topic: index.php in gallery permission
When I create a gallery with svManager, the permission of the index.php file in the gallery folder (example: g1, g2, etc.) is 666 and when I try to visualize this page, I receive the following message:
500 - Internal Server Error
If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
Common reasons for this error are:
Incorrect file/directory permissions: Above 755.
In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
Incorrect Apache directives inside .htaccess file.
Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.
Now if I set manually, via FTP, the permissin of index.php to 755, I can watch the gallery but if I modify the includes/constants.php to try to set the permission on 755 without my ftp setting, the setting doesn't happen.
What I should change to have an automatic set of index.php of the gallery to 755?
This www enbsp com/svmanager/g3/ is a gallery with permission of index.php on 755.
This www enbsp com/svmanager/g4/ is a gallery with permission of index.php on 666.