用phpize編譯共享擴展庫

phpize一種構建工具,爲php擴展準備構建環境;php

phpize是用來擴展php擴展模塊的,經過phpize可創建php外掛模塊;web

安裝PHP時默認是不安裝phpize的,須要單獨安裝;工具

安裝phpize.net

$ sudo apt-get install php5.6-dev

安裝php外掛模塊code

$ 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

參考文獻:server

phpize安裝及使用blog

PCEL擴展庫安裝get

相關文章
相關標籤/搜索