Dalam operasional Server saya pake Global Php.Ini dan khusus klien yg request baru saya setting dengan cara ;
Edit
/opt/suphp/etc/suphp.conf file:
Pake nano /opt/suphp/etc/suphp.conf
Cari ini :
[phprc_paths]
;Uncommenting these will force all requests to that handler to use the php.ini
;in the specified directory regardless of suPHP_ConfigPath settings.
;application/x-httpd-php=/usr/local/lib/
;application/x-httpd-php4=/usr/local/php4/lib/
;application/x-httpd-php5=/usr/local/lib/
Hilangkan tanda ; sehingga menjadi :
[phprc_paths]
;Uncommenting these will force all requests to that handler to use the php.ini
;in the specified directory regardless of suPHP_ConfigPath settings.
application/x-httpd-php=/usr/local/lib/
application/x-httpd-php4=/usr/local/php4/lib/
application/x-httpd-php5=/usr/local/lib/
Kalo mau custom di user tertentu edit file :
nano /usr/local/lib/php.ini
Misal :
[PATH=/home/username/public_html]
register_globals=On
post_max_size=5000M
Kalo seperti request anda ya masukkan :
[PATH=/home/username/public_html]
magic_quotes_gpc = Off
magic_quotes_sybase = Off
note :
username : di isi username cpanel klien
dibawahnya apa yg akan di on off kan
Abis itu restart apache.
Gunanya disable global ini, supaya klien tidak seenaknya sendiri edit2 php.ini, hacker juga pake cara2 edit php.ini, itu sebabnya saya disable dari root.