|
|
Warning: curl_exec() has been disabled for security reasons& r, m1 d& L+ v5 q I- U
PROBLEM:Function curl_exec is disabled. What to do?& u$ s: i% R; R6 a3 q0 Q4 ^
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.+ l" `; }: P8 ]1 s7 D8 z6 I i5 u
解决办法:修改配置文件php.ini文件:& ^" }) U; {. j# v5 e( U
修改下面配置: 去掉curl_exec
7 @* B6 Y0 a, N# _: c0 p8 xdisable_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
+ u3 B7 b! V% ?( q; [& ]8 e7 x. X: @9 K" q" X
修改后的样子:
+ k+ z' e- H" |: O8 I) y' [disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,eval,posix_getpwuid2 y9 o/ z" Z- k) p
自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg
9 r3 x# I1 I1 i' s重启httpd服务后恢复* H3 V! A y' a( n/ N. J, u2 K
5 N5 g% n, K3 a5 P/ J! O* rphpIPAM version check最新版本 (1.5.1) 已经安装! |
|