Introduction to phpize, the automatic management tool for PHP extensions

小云云
Release: 2023-03-21 08:24:02
Original
1891 people have browsed it


About the automatic management tool phpize for PHP extensions. It can generate the corresponding system file information (sys_config) based on the configuration file (config) under the downloaded extension. I hope it can help. Everyone.

For example, install the mamcache extension file under php

    tar zxvf memcache-2.2.5.tgz
    cd memcache-2.2.5/    /usr/local/webserver/php/bin/phpize
    ./configure –with-php-config=/usr/local/webserver/php/bin/php-config
    make
    make install
Copy after login
Copy after login

After completion, open the extension in the php.ini file, extension = “memcache.so”;
Restart apache or nignx;

He can generate the corresponding system file information (sys_config) based on the configuration file (config) under the downloaded extension

For example, install the mamcache extension file under php

    tar zxvf memcache-2.2.5.tgz
    cd memcache-2.2.5/    /usr/local/webserver/php/bin/phpize
    ./configure –with-php-config=/usr/local/webserver/php/bin/php-config
    make
    make install
Copy after login
Copy after login

After completion Open the extension in the php.ini file, extension = “memcache.so”;
Restart apache or nignx;

Detailed explanation of phpize extension installation example under Linux

What is phpize

php7 Installing the extension phpize did not generate the configure file

The above is the detailed content of Introduction to phpize, the automatic management tool for PHP extensions. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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!