php7 installation extension phpize does not generate configure file

WBOY
Release: 2016-08-18 09:15:29
Original
1999 people have browsed it

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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

Reply content:

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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

sudo apt-get install php7-curl

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!