刚在ubuntu下简单装了个php7,想的需要什么扩展再加。
完了要装curl扩展
源码目录
<code># cd ext/curl# phpize//预计生成configure文件 但是不知道为什么没有生成 自然后面的命令就没有执行#./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=DIR</code>
phpize要依赖什么东西么?
下面是我的php环境
<code># php -vPHP 7.0.5 (cli) (built: Apr 27 2016 16:19:28) ( NTS )Copyright (c) 1997-2016 The PHP GroupZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies# php -m[PHP Modules]CorectypedatedomfileinfofilterhashiconvjsonlibxmlpcrePDOpdo_sqlitePharposixReflectionsessionSimpleXMLSPLsqlite3standardtokenizerxmlxmlreaderxmlwriter[Zend Modules]</code>
/本文来源gaodai#ma#com搞*!代#%^码网%搞代gaodaima码
回复内容:
刚在ubuntu下简单装了个php7,想的需要什么扩展再加。
完了要装curl扩展
源码目录
<code># cd ext/curl# phpize//预计生成configure文件 但是不知道为什么没有生成 自然后面的命令就没有执行#./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=DIR</code>
phpize要依赖什么东西么?
下面是我的php环境
<code># php -vPHP 7.0.5 (cli) (built: Apr 27 2016 16:19:28) ( NTS )Copyright (c) 1997-2016 The PHP GroupZend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies# php -m[PHP Modules]CorectypedatedomfileinfofilterhashiconvjsonlibxmlpcrePDOpdo_sqlitePharposixReflectionsessionSimpleXMLSPLsqlite3standardtokenizerxmlxmlreaderxmlwriter[Zend Modules]</code>
sudo apt-get install php7-curl