IT技术网www.itjs.cn

当前位置:首页 > 操作系统 > Linux > Ubuntu > UBUNTU下安装 APACHE+PHP+MYSQL WEB服务器配置

UBUNTU下安装 APACHE+PHP+MYSQL WEB服务器配置

发布时间:2008-04-01 15:29 来源:未知

Once again, here’s my updated simple installation of Apache, PHP and MySQL in Ubuntu 8.04 LTS (Hardy Heron) Server.

sudo apt-get install ssh

Install Database Server

Install Apache HTTP Server

Install PHP5 and Apache PHP5 module

Restart Apache

Optionally, install phpMyAdmin

Enjoy!

sudo /etc/init.d/apache2 restart (重启 apache)

sudo gedit /etc/php5/apache2/php.ini (配置 php.ini)

sudo gedit /etc/apache2/apache2.conf (配置 apache2.conf)

/var/www/(主目录位置)