Ubuntu14.04安裝PHP5

由於任務須要在Ubuntu14.04的server版本下安裝PHP5,因此總結一下

 
使用root進行安裝  要麼在前面加上sudo進行安裝。
 apt-get install php5-cgi apt-get install php5-fpm apt-get install php5-curl (客戶端 URL 庫函數庫) apt-get install php5-gd (GD庫圖像函數庫) apt-get install php5-mysql (增長對mysql支持) apt-get install php5-mcrypt (Mcrypt 加密函數庫) apt-get install php5-memcache (Memcache客戶端) apt-get install php5-memcached (Memcache服務端) apt-get install php5-dev (開發支持模塊) apt-get install php5
沒錯  一個個安裝這些個就能夠了
 
php5的配置文件在 : /etc/php5
相關文章
相關標籤/搜索