When installing php (fastcgi mode), there is often such a command:/usr/local/webserver/php/bin/phpize I. What is phpize? What is phpize? Php official instructions: http://php.net/manual/en/install.pecl.phpize.phpphpizeis...
When installing php (fastcgi mode), you often have the following command:/usr/local/webserver/php/bin/phpize
I. What does phpize do?
What is phpize? Official php instructions:
Http://php.net/manual/en/install.pecl.phpize.php
Phpize is used to expand the php Extension Module. phpize can be used to establish a php plug-in module.
For example, if you want to add memcached, ImageMagick, and other extension modules to the compiled php, you can use phpize to perform the following steps.
II. how to use phpize?
After php compilation is complete, the php bin directory contains the phpize script file. Run the following phpize command before compiling the extension module you want to add;
For example, if you want to add the memcache extension module to php, do the following:
------------------------
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
------------------------
Note: the path of the php-config file can be specified after./configure.
In this way, the compilation is complete. you also need to add the extension value to the php. ini file.
Extension = "memcache. so"