在安装 MediaWiki 时显示警告:
Warning: putenv() has been disabled for security reasons in /storage/ssd1/808/4772808/public_html/includes/Setup.php on line 129
但是不影响 MediaWiki 的安装。
安装完成后,本来应该正常显示的网站主页只出现了如下报错代码:
Warning: putenv() has been disabled for security reasons in /storage/ssd1/808/4772808/public_html/includes/Setup.php on line 129
Warning: putenv() has been disabled for security reasons in /storage/ssd1/808/4772808/public_html/includes/Setup.php on line 129
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/libs/HttpStatus.php on line 112
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd1/808/4772808/public_html/LocalSettings.php:1) in /storage/ssd1/808/4772808/public_html/includes/WebResponse.php on line 46
楼主并非程序员,更没有 PHP 经验,只能摸索着试图解决。在网上看到有人说可以修改 PHP.ini 中“输出缓冲区数据块设置”解决,但在网站的空间内没有找到这个文件。托管商提供了 phpMyAdmin 工具,但是也并没有找到可以解决这个问题的地方,万般无奈之下只好来这里求助了,希望有人能指点迷津,不胜感激之至!