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.
我的客户允许我访问我正在做的一个网站的共享主机(他选择并付费)。PHP 作为 CGI 运行。我根本无法通过 ini_set 更改 PHP 设置!这可能吗?这是共享主机的标准做法吗?我基本上需要做的就是激活错误!他们怎么能指望有人把空白页当作“错误”呢!
除非他们认真锁定设置:
ini_set('display_errors', 1); error_reporting(E_ALL);
应该是你所需要的。