|
|
Warning: curl_exec() has been disabled for security reasons
4 } U; j! `, s4 [& l9 f8 I1 a( A/ _3 z3 WPROBLEM:Function curl_exec is disabled. What to do?% b( u2 ?! { _. X. `6 i
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.
5 B2 z' J3 Q+ I8 V解决办法:修改配置文件php.ini文件:
: a7 K0 \; P% K: D修改下面配置: 去掉curl_exec9 @8 s- o) F/ e
disable_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
5 t. P) q6 f! p& T# c: t0 C
, S) a7 X, S9 j, `4 _修改后的样子:
* S! S q: r$ u ~) l: J" P& Odisable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,eval,posix_getpwuid3 [7 b" f4 s4 w) K/ ]* |
自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg* c! g g p5 E4 d' i) s) d
重启httpd服务后恢复
/ ]0 D* r. T: D& x% W+ D% v5 e3 C& [9 V1 {3 Y
phpIPAM version check最新版本 (1.5.1) 已经安装! |
|