Transfer from variants of the LinuxPHP5 on LinuxPHP5_CGI
Variant LinuxPHP5_CGI is a separate webhostingová service. Compared to the běznému LinuxPHP5 where our dynamic pages using the apache module (mod_php), this option works, as its name suggests, the CGI/FastCGI interpreters for PHP5. The safety of running scripts is ensured by using suPHP engine that checks the accuracy of the rights to run scripts. This principle allows even on a shared Web host shut down several normal security measures, in particular the famous SafeMode.
Different permissions for LinuxPHP5 and LinuxPHP5_CGI
As already mentioned above, the permissions for these two different variants:
- For the current LinuxPHP5 are the following: owner: siteXXXX group: apache permissions: 660 (rw, rw, 0)
- For LinuxPHP5_CGI are: owner: siteXXXX group: siteXXXX rights: 640 (rw, r, 0)
What to watch out for?
Problem in htaccesu. for FilesMatch: need to change the ForceType only on x-httpd-php