Latest News

[Solved] Got Error 'Php Message: Php Warning: Ini_Set() Has Been Disabled For Security Reasons

- Memindahkan website pada server yang berbeda namun muncul pesan error "'PHP message: PHP Warning: ini_set() has been disabled for security reasons in" . 

Pesan ini didapat pada error-log webserver pada salah satu user hosting.

 [proxy_fcgi:error] [pid 334:tid 140411288917760] [client 190.22.3.1:12055] AH01071: Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons in /home/useritlamp/domains/yourdomain.com/public_html/index.php on line 70\n'    [proxy_fcgi:error] [pid 334:tid 140411280525056] [client 190.22.3.1:12055] AH01071: Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons in /home/useritlamp/domains/yourdomain.com/public_html/index.php on line 70\n'    [proxy_fcgi:error] [pid 334:tid 140411272132352] [client 190.22.3.1:12055] AH01071: Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons in /home/useritlamp/domains/yourdomain.com/public_html/index.php on line 70\n'    [proxy_fcgi:error] [pid 334:tid 140411263739648] [client 190.22.3.1:12055] AH01071: Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons in /home/useritlamp/domains/yourdomain.com/public_html/index.php on line 70\n'    [proxy_fcgi:error] [pid 334:tid 140411255346944] [client 190.22.3.1:12055] AH01071: Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons in /home/useritlamp/domains/yourdomain.com/public_html/index.php on line 70\n'   

Baca Juga :  /search?q=cpanel-log-mysql-apache-email-error-ftp-whm


Dari error diatas terang bahwa aplikasi website yang dipakai membutuhkan biar "ini_set" untuk jangan di nonaktifkan pada file php.ini yakni pada rules "disabled_function = ..."

SOLUSI :

Create file info.php pada public_html dan masukan code sbb :
 <?php    phpinfo();    ?>   
Akses website anda dengan url http://yourdomain.com/info.php, cari patch konfigurasi file php.ini dan pastikan "ini_set" tidak dimasukan dalam daftar "disabled_function = ..."

Done

0 Response to "[Solved] Got Error 'Php Message: Php Warning: Ini_Set() Has Been Disabled For Security Reasons"

Total Pageviews