Tag Info

Hot answers tagged


This happens because, in most web servers, the default action for folders is "Directory listing" which is disabled by default. The same would happen in Apache usually if you disable Directory indexing. What you can do in nginx is to put =404 at the end of your try_files directive. You can do this by putting /index.php at the end of the try_files directive. ...


Here's the workaround that I did: Install yum-utils and find out what files are in the package php53 # yum install yum-utils # repoquery --list php53 /etc/httpd/conf.d/php.conf /usr/lib/httpd/modules/libphp5.so /var/lib/php/session /var/www/icons/php.gif Install the yum-downloadonly plugin for yum # yum install yum-downloadonly Download the php53 RPM ...


I had the same error after updating my server and found the following error in /var/log/nginx/error.log:/var/run/php5-fpm.sock failed (13: Permission denied) What solved the issue was uncommenting the following lines in /etc/php5/fpm/pool.d/www.conf and restart php5-fpm listen.owner = www-data listen.group = www-data listen.mode = 0660

Only top voted, non community-wiki answers of a minimum length are eligible