新聞| | PChome| 登入
2010-12-31 15:51:17 | 人氣81| 回應0 | 上一篇 | 下一篇

Installing PHP5 and Apache on Ubuntu

推薦 0 收藏 0 轉貼0 訂閱站台

f you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’s the quick and easy way to get PHP up and running on your Ubuntu box.

First, you’ll want to add the extra repositories to Ubuntu’s sources.list file.

From a command shell, you will run the following commands:

sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

Note that if apache is already installed you can omit the first line. Your web files will now be found in /var/www/

 

 

http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/

台長: robin
人氣(81) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 數位資訊(科技、網路、通訊、家電) | 個人分類: 網路報報 |
此分類下一篇:How to install MySQL on Ubuntu/Debian
此分類上一篇:安裝Smarty的方法

是 (若未登入"個人新聞台帳號"則看不到回覆唷!)
* 請輸入識別碼:
請輸入圖片中算式的結果(可能為0) 
(有*為必填)
TOP
詳全文