install PHP4 in Ubuntu 8.04 (Source compile) Top Ten Security Vulnerabilities in PHP Code !
Aug 05

หลังจากติดตั้งเครื่องใหม่เรียบร้อยแล้ว
[code lang='bash']
apt-get install ssh screen
apt-get install apache2 apache2-prefork-dev php5 php5-cli php5-dev php5-gd php5-mcrypt php5-mysql make
[/code]

- config apache2

[code lang='bash']
a2dismod cgi
a2dismod autoindex
a2dismod negotiation
a2dismod status
a2enmod rewrite
a2enmod expires
[/code]

สำหรับการใช้งานร่วมกับ PEAR Database
[code lang='php']apt-get install php-pear php-db[/code]

written by Mr-San \\ tags: , , ,


Comments are closed.