When installing PHP (fastcgi mode), there are often such commands:/usr/local/webserver/php/bin/phpize
What does Phpize do?
What is Phpize? PHP Official Description:
http://php.net/manual/en/install.pecl.phpize.php
Phpize is used to extend the PHP extension module, through the phpize can build PHP plug-in module
For example, if you want to add extensions such as memcached or ImageMagick in the original compiled PHP, you can use Phpize to work through the following steps.
Second, how to use Phpize?
When PHP is compiled, the phpize script file will be available in the bin directory of PHP. Before compiling the extension module you want to add, execute the following phpize.
For example, now you want to add the memcache extension module to PHP: We're just going to do the following steps.
————————————————————————
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 to the Php-config file that can be specified after/configure.
This completes the compilation, and it is necessary to add the extension value to the php.ini file.
Extension = "memcache.so"
http://www.bkjia.com/PHPjc/478545.html www.bkjia.com true http://www.bkjia.com/PHPjc/478545.html techarticle When you install PHP (fastcgi mode), you often have such a command:/usr/local/webserver/php/bin/phpize One, Phpize is why? What is Phpize? PHP Official Description: ...