Skip to content

Commit f63ed4d

Browse files
committed
Add disable_functions to options.ini
1 parent a4162bb commit f63ed4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ RUN set -ex \
366366
echo 'max_execution_time=600'; \
367367
echo 'default_socket_timeout=3600'; \
368368
echo 'request_terminate_timeout=600'; \
369+
echo 'disable_functions = disk_free_space,disk_total_space,diskfreespace,dl,exec,opcache_get_configuration,opcache_get_status,passthru,pclose,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_waitpidpcntl_wait,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,ini_alter,ini_set,ini_restore,pfsockopen,phpinfo,putenv'; \
369370
} > /usr/local/etc/php/conf.d/options.ini
370371

371372
WORKDIR /var/www/html

0 commit comments

Comments
 (0)