Apologies if this appears pedantic, but there is never ever a reason why .php files need a permission of 777. (folders are another matter).
Although in *most* cases the 777 permissions won't cause any problems, with *some* servers it will cause a 'server 500' error.
664 is generally all that is needed. In *very rare* cases, 666 will be required. 777 introduces a security risk, which thankfully is something that ZenCart checks for in regards to the configure.php files. Alas, it doesn't check for other files with unneeded write permissions, and less experienced developers seem to have a nasty habit of using/suggesting 777 whenever there is some kind of problem reading or writing a file. Bad news. Bad advice.
Cheers
RodG



Reply With Quote
