1、Debian 3.1下安裝Deb包(Apache.MySQL.PHP),如圖。
2、安裝成功后配置文件如下修改:
================================== Apache 1.3.3 Debian Sarge Config ==================================
vim /etc/apache/httpd.conf
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
AddDefaultCharset UTF-8
<IfModule mod_dir.c> DirectoryIndex index.htm index.html index.cgi index.php </IfModule>
vim /etc/apache/modules.conf
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
================================== MySQL 4.0.24 Debian Sarge Config ==================================
vim /etc/mysql/my.cnf
#skip-external-locking bind-address 172.16.1.254
================================== PHP Version 4.3.10 Debian Config ==================================
vim /etc/php4/apache/php.ini
display_errors = Off default_charset = "UTF-8" extension=gd.so extension=mysql.so
本文鏈接:http://m.95time.cn/computer/system/2007/4494.asp
出處:藍(lán)色理想
責(zé)任編輯:birder
上一頁 Debian Linux 第十天 下一頁
◎進(jìn)入論壇計(jì)算機(jī)技術(shù)版塊參加討論
|