Pergunta

I've got a strange problem. After creating an application (CakePHP v2.4.9) I've deployed it to virtual server online. It wasn't working so I went through some steps:

chown -R user:group, chmod -R 775, checked for BOM, checked for mod_rewrite etc.

I've tried complete new application on server, same steps and nothing. Only after chmod -R 755, everything worked out.

Now, on a shared server, chmod -R 775 works great. What could cause this behavior? As far I can tell, 755 are less permissions than 775. Even chmod -R 777 wasn't the solution, only 755 was.

Virtual server PHP version: 5.4.27

Shared server PHP version: 4.4.9

Foi útil?

Solução

Some servers are configured to not run files with permissions that are too open. Especially on shared hosting.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top