打開終端命令窗口鍵入php
sudo apt-get install php5-curlapache
回車 安裝依賴關係包curl
重啓apache服務url
sudo /etc/init.d/apache2 restartrest