debian配置PHP5+MYSQL+Apache转自:http://blog.csdn.net/oleverx/archive/2005/12/23/559804.aspx 在/etc/apt/sources.list中添加: deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all apt-get update 2、apt-get install php5 apt-get install apache2 apt-get install mysql-server mysql-client apt-get install php5-mysql php5-curl php5-gd dpkg -l 'php5-*' aptitude install libapache2-mod-php5 php5-mysql 3、/etc/apache2/httdpd.conf 添加: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 4、ln -s /etc/apache2/mods-available/php5.* /etc/apache2//mods-enabled 5、apt-get install apache2-mpm-prefork 6、/etc/init.d/apache2 restart 上一篇: Debian+vsftpd+MySQL实现虚拟用户 下一篇:《Debian GNU/Linux 3.0 RC4 多国语言版》(Debian GNU/Linux 3.0 RC4)v3.0 RC4 更多相关文章
|
推荐文章
精彩文章
|