You should install dev version of libpcre3:
sudo apt-get install libpcre3-dev.
Make sure php5-dev is installed.
sudo apt-get install php5-dev
本 » PECL 擴充功能未包含於 PHP 中。
安裝此 PECL 擴充功能的訊息可在手冊中標題為 PECL 擴充功能安裝的一章中找到。 更多訊息如新版本,下載,原始文件,維護者訊息以及更新日誌等可以在這裡找到: » http://pecl.php.net/package/SPL_Types.
PECL 擴充功能的 DLL 目前不可用。參閱 在 Windows 上建立章節。
You should install dev version of libpcre3:
sudo apt-get install libpcre3-dev.
Make sure php5-dev is installed.
sudo apt-get install php5-dev
I did run into one problem while installing this extension on 5.5.3, Ubuntu 12.04, and that was the missing libpcre3. Once I installed the lib the install went fine.
sudo apt-get install libpcre3
sudo pecl install SPL_Types