How to block execute php if file has ...

hape

Verified User
Joined
Jul 22, 2010
Messages
80
Location
Poland
Hi,
I use nginx with php-fpm. All works ok, but I want to make some security fixes. How to block executing *.php files if chmod allows to execute this file by others?
And second, how to block executing *.php files if chown isn't equal to user?
 
Back
Top