I just installed php7 on Ubuntu and I am wondering what extensions are needed.
After that, you need to install the curl extension
Source code directory
<code># cd ext/curl # phpize //预计生成configure文件 但是不知道为什么没有生成 自然后面的命令就没有执行 #./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=DIR</code>
Does phpize depend on anything?
The following is my php environment
<code># php -v PHP 7.0.5 (cli) (built: Apr 27 2016 16:19:28) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies # php -m [PHP Modules] Core ctype date dom fileinfo filter hash iconv json libxml pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML SPL sqlite3 standard tokenizer xml xmlreader xmlwriter [Zend Modules]</code>
I just installed php7 on Ubuntu and I am wondering what extensions are needed.
After that, you need to install the curl extension
Source code directory
<code># cd ext/curl # phpize //预计生成configure文件 但是不知道为什么没有生成 自然后面的命令就没有执行 #./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=DIR</code>
Does phpize depend on anything?
The following is my php environment
<code># php -v PHP 7.0.5 (cli) (built: Apr 27 2016 16:19:28) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies # php -m [PHP Modules] Core ctype date dom fileinfo filter hash iconv json libxml pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML SPL sqlite3 standard tokenizer xml xmlreader xmlwriter [Zend Modules]</code>
sudo apt-get install php7-curl