|
>以下是我安装APACHE网站服务器和php时出现的问题,请留意! > >1.我安装好了apache后,对根目录进行修改,测试时网页有乱码出现,不知为什么? > >#DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" >DocumentRoot "C:/dwmxweb" > >restart后出现提示“DocumentRoot must be a directory" 229行 > >2.我按要求安装php,手动修改apache网站服务器的设定文件时 > >#ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/" >ScriptAlias /php/"c:php" > >restart后出现 提示 “ ScriptAlias must have two arguments ,a fakename and a realname" 496行 > >3. 我按要求安装php后,手动修改apache网站服务器的设定文件时 >AddType application/x-tar .tgz >AddType application/x-httpd-php.php.php4.phtml >AddType image/x-icon .ico >restart后出现 提示 “AddType requires at least two arguments, a mime type followed by one or more file extensions" > > |