- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Warning: curl_exec() has been disabled for security reasons
\8 \6 R/ t* p f5 i6 DPROBLEM:Function curl_exec is disabled. What to do?
. I; {' }$ Y6 T- j7 @+ }SOLUTION:In order to eliminate this error message you need to do ONE of the following things:Remove the curl_exec string from the disable_functions at php.ini* fileAsk your hosting provider to remove the string above if you don’t have an access to the php.ini* fileChange hosting provider which allows the running of the curl_exec function.
' V* J) Z" u8 h: v: F3 o0 c' d解决办法:修改配置文件php.ini文件:( o; |" U y4 f# B* V; B: C7 b, m
修改下面配置: 去掉curl_exec
. j: x8 X' {7 ?! e+ f, Sdisable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source,eval,posix_getpwuid自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg
" F& i5 t1 r( r. y- @+ {" J0 E7 o5 O, O% p6 J9 w8 {" O
修改后的样子:
% ?, c3 D6 n$ L" |8 U$ C! q- ydisable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,eval,posix_getpwuid W0 U. V0 g+ z2 c, T! M# h
自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg
: J$ b( ]: j4 {) `8 Q8 x% J重启httpd服务后恢复
1 a: F c) g( B% F$ k6 G8 P4 ?: H
& U- E1 t, ?. CphpIPAM version check最新版本 (1.5.1) 已经安装! |
|