标签:
安装curl扩展遇到一个傻逼问题
[root@xxx openssl]# /usr/local/php/bin/phpize
Cannot find config.m4.
Make sure that you run ‘/usr/local/php/bin/phpize‘ in the top level source directory of the module
对于这个问题其实是要到php的源码包中去执行的
cd php-5.5.30/ext/curl
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=/usr/local/curl
make
make install
在php.ini中添加下面这段代码
extension = curl.so
标签:
原文地址:http://www.cnblogs.com/jasonxu19900827/p/5331089.html