Halo sobat, buat kalian yang ingin seting beberapa parameter di php.ini cloudlinux secara global berkut caranya
- edit /etc/cl.selector/global_php.ini
- Paling bawah tambahkan
max_execution_time = 120 memory_limit = 96M upload_max_filesize = 70M post_max_size = 70M disable_functions = mail,show_source,symlink,system,shell_eval,define_syslog_variables,syslog,openlog,closelog,passthru,ocinumcols,ini_alter,leak,listen,chgrp,
_note,
_setenv,debugger_on,debugger_off,ftp_dl,dll,ftp,myshellsocket_
,popen,fpassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_pcntl_getpriority,pcntl_setpriority,str_rot13 date.timezone = "Asia/Jakarta"
Sesuaikan nilai diatas dengan kebutuhan kalian
Contoh hasilnya
- Kemudian save dan jalankan perintah berikut untuk apply
/usr/sbin/cagefsctl --apply-global-php-ini
- Selamat mencoba