I heard when you want to change php.ini settings, when you do not have access to php.ini at the root level, which you can upload php.ini to the web root, is that right?
Another way to configure PHP settings is to create a file with a name php.iniand upload it to your web server. This works similar to a file .htaccess, except that you do not need to add "php_value" at the beginning of the line
if this is correct, it means that anyone who prints
www.xx.com/php.ini
should see the settings? Isn't that a security risk?
source
share