"--with-curlwrappers" Option 和 php- file get contents 函数无法使用
跳到导航
跳到搜索
with-curlwrappers
原因 : --with-curlwrappers 运用curl工具打开url流 导致 stream_get_meta_data类型为 url流 Solutions: 1) Use cURL entirely instead of using fopen() for stream connections. 2) Re-configure and re-compile PHP without the "--with-curlwrappers" option. ps: php -i | grep configure
参考
Problems With PHP Compiled Using "--with-curlwrappers" Option