|
|
Warning: curl_exec() has been disabled for security reasons
2 T% K7 `/ T$ \5 z2 NPROBLEM:Function curl_exec is disabled. What to do?2 i0 m+ @# k+ s) v9 i/ J$ K
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.6 q9 u# t0 Z5 [9 V. H
解决办法:修改配置文件php.ini文件:! u. h, ]5 j. o. B( I0 z
修改下面配置: 去掉curl_exec
8 ^' v7 ] R' _: rdisable_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 e1 T' T& \; b
8 s% [/ G# B, \
修改后的样子:* P* u( x6 G7 A
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,eval,posix_getpwuid4 y) e( H* o- B9 p, k/ W4 a
自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg
+ L: f# k9 s! |( ?8 K. E7 c2 m重启httpd服务后恢复: U5 M2 z" f X1 Z% N9 ^0 S; p
& X z6 B9 s+ n
phpIPAM version check最新版本 (1.5.1) 已经安装! |
|