putenv () under the Executive composer has been disabled for security reasons linux command error

Execute commands on linux composer relevant panel reported the following error:

The reason is installed php version prohibits the operation less sensitive functions, linux environment in which the panel or lnmp

Find the php.ini configuration file, the function need to delete or delete all

Under linux executable whereis php.ini to find

disable_functions = passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv

When delete or block successfully executed

Hang out for a long time, this record, pointing welcome

发布了49 篇原创文章 · 获赞 6 · 访问量 4万+

Guess you like

Origin blog.csdn.net/cmj8043719242/article/details/101099164