- 积分
- 16841
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
Warning: curl_exec() has been disabled for security reasons& g+ }. n" g% W H
PROBLEM:Function curl_exec is disabled. What to do?
5 O' U7 A- F; T# _7 F5 d% M5 `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 H8 j p) {& y+ O. S) B: R解决办法:修改配置文件php.ini文件:- f" R, L2 w7 C& p, u' B
修改下面配置: 去掉curl_exec) l0 |2 X/ Z2 x( c$ q
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$ O$ T* v0 A/ ~' b1 ~& T
& @+ G/ V; m( D2 ^% X修改后的样子:. `( b: x6 i! |
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,eval,posix_getpwuid
7 i0 H( R; L: `5 f6 n自己的环境: disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source,phpinfo,escapeshellcmd,escapeshellarg- f+ g% @5 L1 Y7 W) _- C: s
重启httpd服务后恢复
7 i$ X0 t7 F- R# U4 G/ G& d7 V- ?0 ?* ^% I: E. e# Q3 N
phpIPAM version check最新版本 (1.5.1) 已经安装! |
|