Home  >  Article  >  Backend Development  >  Tutorial on installing php extension module phpize_PHP

Tutorial on installing php extension module phpize_PHP

WBOY
WBOYOriginal
2016-07-14 10:11:391005browse

Install the php extension module phpize

One way to install PHP modules is to recompile PHP with relevant parameters
One is to use phpize, such as eaccelerator, memcache, etc. This is more convenient. You don’t need to recompile PHP, and you can enable or disable it at any time

Here’s how to use phpize
This file will be present in any system where PHP is installed. In a wdlinux system, this file will be in
/www/wdlinux/php/bin/phpize

Then go to the corresponding source code directory to be compiled, and then run the above phpize, the corresponding configuration will be generated, run the configuration again, and the compilation will be completed
Such as
tar zxvf eaccelerator-0.9.6.1.tar.bz2
cd eaccelerator-0.9.6.1
/www/wdlinux/php/bin/phpize
./configure --with-php-config=/www/wdlinux/php/bin/php-config
make
make install

As long as there are no errors, after this execution, the module will be installed
There is a configuration or setting that may need to be done
You can modify the php.ini file, such as
vi /www/wdlinux/etc/php.ini

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477320.htmlTechArticleInstall the php extension module phpize. One way to install the PHP module is to add relevant parameters to recompile PHP. The other is to use phpize, such as eaccelerator, memcache, etc., this is more convenient, no need...
Statement:
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