我想在我的共享主机中禁用自定义php.ini。 我不想让我的客户使用它。 我可以使用allowverride阻止htaccess的使用,但我不能看到阻止php.ini!
如在https://stackoverflow.com/questions/7841709/how-to-prevent-override-the-setting-using-htaccess-or-custom-php-ini中所述,你必须禁用自定义php.ini在你的主要的PHP的.ini:
; To disable this feature set this option to empty value ;user_ini.filename =