I was having the same issue. I don't know how you do it with PHP, but this command worked for me...

find /var/www/html/*/ -type d -exec chmod 755 {}/*.php \;

It changes the permissions of all php files in the html directory. You may want to also change the permissions on the directories them selves as well, in which case run this one too...

find /var/www/html/*/ -type d -exec chmod 755 {} \;