[SOLVED] Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons

ITLampung.Com - 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 : http://www.itlampung.com/2016/06/cpanel-log-mysql-apache-email-error-ftp-whm.html


Dari error diatas jelas bahwa aplikasi website yang digunakan membutuhkan agar "ini_set" untuk jangan di nonaktifkan pada file php.ini yaitu 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

Subscribe to receive free email updates:

0 Response to "[SOLVED] Got error 'PHP message: PHP Warning: ini_set() has been disabled for security reasons"

Post a Comment

Tinggalkan jejak agan dihalaman komentar dibawah ini.. Jangan lupa :)

- ITLampung.Com