竞博jbo首页

How to enable and disable system exec service in Linux

Author: Shouyu website date: 10:22, November 13, 2019 second

The method to disable it is as follows:

Open the php.ini file


Find disable_ Functions, add the name of the function to be disabled, as follows:

phpinfo,eval,passthru,exec,system,chroot,scandir,chgrp,chown,shell_ exec,proc_ open,proc_ get_ status,ini_ alter,

ini_ alter,ini_ restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_ socket_ server,fsocket,fsockopen



The opening method is as follows:

Open the php.ini file


Find disable_ Functions, add the function name to be disabled, as follows: phpinfo, Eval, passthru, chroot, scandir, chgrp, chown, shell_ exec,proc_ open,

proc_ get_ status,ini_ alter,ini_ alter,ini_ restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_ socket_ server,

fsocket,fsockopen


Delete exec, system, save and restart PHP service.

Hot spot recommendation

technical college

Shouyu network provides technical knowledge of website construction, SEO 竞博jbo竞博jbo首页 and server technology

Jianzhan College

SEO tutorial

Server knowledge

How to enable and disable system exec service in Linux

Date: 10:22, November 13, 2019

The method to disable it is as follows:

Open the php.ini file


Find disable_ Functions, add the name of the function to be disabled, as follows:

phpinfo,eval,passthru,exec,system,chroot,scandir,chgrp,chown,shell_ exec,proc_ open,proc_ get_ status,ini_ alter,

ini_ alter,ini_ restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_ socket_ server,fsocket,fsockopen



The opening method is as follows:

Open the php.ini file


Find disable_ Functions, add the function name to be disabled, as follows: phpinfo, Eval, passthru, chroot, scandir, chgrp, chown, shell_ exec,proc_ open,

proc_ get_ status,ini_ alter,ini_ alter,ini_ restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_ socket_ server,

fsocket,fsockopen


Delete exec, system, save and restart PHP service.

Site template

var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?bdf2c820cd338c78dd59a7e5533694ae"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); document.write (''); document.write ('');