When I set the file permission to 644
for php files, it works. But if I give them 600
then they give me blank pages. And it happens only in localhost, in remote host 600
file permission for php files works just fine.
My permission specs:
- Folder permission: 755
- File permission: 644
- php file permission: 600
Am I missing something that needs to be configured in apache2.
N.B: Only blank pages no warning or error. When I run the command (php something.php
in terminal it gives me the HTML output without any error.