PHP 7 installation extension phpize does not generate the configure file

Source: Internet
Author: User
I just installed php7 in ubuntu. I want to add more extensions. After installing the curl extension source code directory {code...} is phpize dependent on anything? The following is my php environment {code...} just installed php7 in ubuntu. I want to add more extensions.
Complete the curl extension
Source code directory

# Cd ext/curl # phpize // The configure file is expected to be generated, but I don't know why the subsequent commands are not executed without being generated #. /configure -- with-php-config =/usr/local/php/bin/php-config -- with-curl = DIR

What does phpize depend on?

Below is my php environment

# 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]

Reply content:

I just installed php7 in ubuntu. I want to add more extensions.
Complete the curl extension
Source code directory

# Cd ext/curl # phpize // The configure file is expected to be generated, but I don't know why the subsequent commands are not executed without being generated #. /configure -- with-php-config =/usr/local/php/bin/php-config -- with-curl = DIR

What does phpize depend on?

Below is my php environment

# 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]

Sudo apt-get install php7-curl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.