<p>今天在编译安装PHP7的curl扩展时,出现报错,详细报错内容如下:</p><pre class="brush:bash;toolbar:false">./configure: line 410: test: please: integer expression expected configure: error: reinstall ./configure: line 299: return: please: numeric argument required ./configure: line 309: exit: please: numeric argument required</pre><p>解决方法如下:</p><pre class="brush:bash;toolbar:false">yum -y install curl-devel</pre><p>直接运行该条命令即可。</p><p>好了,以上就是“php curl抓取远程图片报错:"./configure: line 410: test: please: integer expression expected"解决办法”的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,如果有疑问大家可以留言交流。</p>