[ask] cara menambahkan ini_set


Status
Not open for further replies.

jaapns

Hosting Guru
Verified Provider
koh? kohee..huehe..ada beberapa cara salah satunya ini
kalo pake su php bisa lewat sini

[10:07:52] [8744163] [~]$ tail -17 /etc/suphp.conf
[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.
;[phprc_paths], like suPHP_ConfigPath, is subject to php's PHPRC behavior.
;Before using this mechanism make sure to fully understand the implications
; of doing so:
; https://go.cpanel.net/EA4PHPHandlers#PHPHandlers-Thesuphp.conffile
; https://go.cpanel.net/PHPRC#ThecPanelPHPRCPHPPatchforEasyApache4-SuPHP
;application/x-httpd-ea-php54=/opt/cpanel/ea-php51/root/etc
;application/x-httpd-ea-php54=/opt/cpanel/ea-php52/root/etc
;application/x-httpd-ea-php54=/opt/cpanel/ea-php53/root/etc
;application/x-httpd-ea-php54=/opt/cpanel/ea-php54/root/etc
;application/x-httpd-ea-php55=/opt/cpanel/ea-php55/root/etc
;application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc
;application/x-httpd-ea-php70=/opt/cpanel/ea-php70/root/etc
;application/x-httpd-ea-php71=/opt/cpanel/ea-php71/root/etc
====

Just remove the comment (';') before each of those application lines, save the file, and restart the Apache service. You will want to also disable the MultiPHP INI Editor icon from the feature lists in WHM, so you do not have users inquiring why their custom changes aren't taking affect.

ini dulu saya terapkan , cara itu bisa digunakan bila server menggunakan suPHP , sedangkan cpanel baru install saat ini menggunakan Mod_ruid2
jadi harus pilih salah 1 dulu , kalo aktifkan suPHP kembali , mod_ruid2 harus disable .
 
Status
Not open for further replies.

Top