How to block execute php if file has ...

hape

Verified User
Joined
Jul 22, 2010
Messages
79
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?
 
Top