Ubuntu Apache2, PHP, CGI, etc....配置
时间:2009-07-01 来源:Eleswen
Apache
1. apt-get install apache2
test web page: http://x.x.x.x
PHP
1. apt-get insall php5
2. apt-get install libapache2-mod-php5
test.php: <? echo phpinfo(); ?>
3. /etc/init.d/apache2 restart
CGI
1. /etc/apache2/sites-enabled/000-default
AddHandler cgi-script .cgi .pl |
相关阅读 更多 +