Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
做了一个 phpinfo 来检查正在加载哪个 php.ini。然后我把安全模式关闭保存并重新启动apache。我还将 php.ini 放在目录中并关闭了 htaccess 安全模式。htaccess 安全模式关闭给我一个 500。
在任何情况下我都无法禁用安全模式?!
if you have allowoverride on All you can use a .htaccess with
php_admin_flag safe_mode off