开发者

Hoster blocking php config changes?

开发者 https://www.devze.com 2023-02-25 17:42 出处:网络
my client gave me access to the shared hosting (that he chose and paid) for a website I\'m doing. PHP is running as CGI. I can\'t change PHP settings through ini_set at all! Is this possible? Is this

my client gave me access to the shared hosting (that he chose and paid) for a website I'm doing. PHP is running as CGI. I can't change PHP settings through ini_set at all! Is this possible? Is this a standard practice of shared hosting? What I basically need to do is to JUST activa开发者_开发百科te errors! How can they expect someone to work with blank pages as "errors"!


Unless they've seriously locked down settings:

ini_set('display_errors', 1);
error_reporting(E_ALL);

should be all you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号