安裝環境
<code>apt-get -y install apache2 php5 php5-mhash php5-mcrypt php5-curl php5-cli php5-mysql php5-mysqlnd php5-sqlite php5-gd php5-intl php5-dev mysql-server mysql-client phpmyadmin</code>
開啟php的mcrypt拓展
<code>php5enmod mcrypt</code>
啟動偽靜態
<code>a2enmod rewrite</code>
重啟apache服務
<code>service apache2 restart</code>
- write_enable=YES //允許寫入
- local_umask=022 //上傳後檔案的權限遮罩<code>apt-<span>get</span> install vsftpd</code>