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
After completion, open the extension in the php.ini file, extension = “memcache.so”;
Restart apache or nignx;
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
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
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!