Hello. I'm running multiple sites on the same server and I want to isolate them so no one can access files that don't belong to him. However, I am experiencing problems with PHP.
How can I make sure that PHP code can't get out of it's folder and read files in folders which belong to other subdomains? The problem is, that PHP.ini values are easily overwritten with .htaccess I am unable to turn off. I also don't have any access to httpd.conf so I can't specify php_admin_value.
It seems that my hosting provides PHP-FPM, but not access to a config file, so I again can't do anything. Any help is appreciated.
How can I make sure that PHP code can't get out of it's folder and read files in folders which belong to other subdomains? The problem is, that PHP.ini values are easily overwritten with .htaccess I am unable to turn off. I also don't have any access to httpd.conf so I can't specify php_admin_value.
It seems that my hosting provides PHP-FPM, but not access to a config file, so I again can't do anything. Any help is appreciated.
Last edited: