在win98下如何使用? 下载apache for win,安装之。下载mysql for win,安装之。下载php for win,记得下zip版本。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我的apache配置如下:httpd.conf:ServerType standaloneServerRoot "C:/Apache"PidFile logs/httpd.pidScoreBoardFile logs/apache_statusTimeout 300KeepAlive OnMaxKeepAliveRequests 100KeepAliveTimeout 15MaxRequestsPerChild 0ThreadsPerChild 50 BindAddress 172.16.9.100Port 80ServerAdmin admin@localhost//ServerName localhostServerName yanghuDocumentRoot "e:/web"<Directory /> Options FollowSymLinks AllowOverride None</Directory><Directory "e:/web"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all</Directory>UserDir "C:/Apache/users/"DirectoryIndex index.htmlAccessFileName .htaccess<Files .htaccess> Order allow,deny Deny from all</Files>UseCanonicalName OnTypesConfig conf/mime.typesDefaultType text/plain<IfModule mod_mime_magic.c> MIMEMagicFile conf/magic</IfModule>HostnameLookups OffErrorLog logs/error.logLogLevel warnLogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedLogFormat "%h %l %u %t \"%r\" %>s %b" commonLogFormat "%{Referer}i -> %U" refererLogFormat "%{User-agent}i" agentCustomLog logs/access.log commonServerSignature OnAlias /icons/ "C:/Apache/icons/"ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/"<Directory "C:/Apache/cgi-bin"> AllowOverride None Options None</Directory>IndexOptions FancyIndexingAddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzipAddIconByType (TXT,/icons/text.gif) text/*AddIconByType (IMG,/icons/image2.gif) image/*AddIconByType (SND,/icons/sound2.gif) audio/*AddIconByType (VID,/icons/movie.gif) video/*AddIcon /icons/binary.gif .bin .exeAddIcon /icons/binhex.gif .hqxAddIcon /icons/tar.gif .tarAddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .ivAddIcon /icons/compressed.gif .Z .z .tgz .gz .zipAddIcon /icons/a.gif .ps .ai .epsAddIcon /icons/layout.gif .html .shtml .htm .pdfAddIcon /icons/text.gif .txtAddIcon /icons/c.gif .cAddIcon /icons/p.gif .pl .pyAddIcon /icons/f.gif .forAddIcon /icons/dvi.gif .dviAddIcon /icons/uuencoded.gif .uuAddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tclAddIcon /icons/tex.gif .texAddIcon /icons/bomb.gif coreAddIcon /icons/back.gif ..AddIcon /icons/hand.right.gif READMEAddIcon /icons/folder.gif ^^DIRECTORY^^AddIcon /icons/blank.gif ^^BLANKICON^^DefaultIcon /icons/unknown.gifReadmeName READMEHeaderName HEADERIndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,tAddEncoding x-compress ZAddEncoding x-gzip gz tgzAddLanguage da .dkAddLanguage nl .nlAddLanguage en .enAddLanguage et .eeAddLanguage fr .frAddLanguage de .deAddLanguage el .elAddLanguage it .itAddLanguage pt .ptAddLanguage ltz .luAddLanguage ca .caAddLanguage es .esAddLanguage sv .seAddLanguage cz .czLanguagePriority en da nl et fr de el it pt ltz ca es svAddType application/x-tar .tgzBrowserMatch "Mozilla/2" nokeepaliveBrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0BrowserMatch "RealPlayer 4\.0" force-response-1.0BrowserMatch "Java/1\.0" force-response-1.0BrowserMatch "JDK/1\.0" force-response-1.0运行apache后的出错信息:Error 2185: The service name is invalid. Make sure you are specifying a validservice name, and then try again.指定的服务器名子有错,请重新指定一个服务器的名子,然后重试! ServerName localhost这个行吗? to anziqi(美洲狮) ServerName localhost这个名字也是不行!请指点,我的操作系统是win98se 按照php目录下的install.txt文件作就可以了 PHP权限登录 求转译一段代码 php 验证用户输入 php连接数据库到底选哪一个 php 代理服务器 无法传送附件——INPUT类型为FILE时,取不到数值? php5 mysql 5.0.4 apache 2.0.54 乱码 请问哪有像CSDN这样的,提问要分的,还可以升星的这样功能的论坛下载 请教一个加密解密的php算法,涉及位运算,有建议也给分的 PChart 中文不显示,自己导入字体,但是使用时候报错 请问MYSQL中enum类型如何禁止NULL值插入? fopen读不了“HTTP://”开头得文件!为什么?//在线等候
ServerRoot "C:/Apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxRequestsPerChild 0
ThreadsPerChild 50
BindAddress 172.16.9.100
Port 80ServerAdmin admin@localhost//ServerName localhost
ServerName yanghu
DocumentRoot "e:/web"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "e:/web">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
UserDir "C:/Apache/users/"
DirectoryIndex index.html
AccessFileName .htaccess
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
UseCanonicalName On
TypesConfig conf/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off
ErrorLog logs/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access.log common
ServerSignature On
Alias /icons/ "C:/Apache/icons/"
ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/"
<Directory "C:/Apache/cgi-bin">
AllowOverride None
Options None
</Directory>
IndexOptions FancyIndexing
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage pt .pt
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
LanguagePriority en da nl et fr de el it pt ltz ca es sv
AddType application/x-tar .tgz
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
运行apache后的出错信息:
Error 2185: The service name is invalid. Make sure you are specifying a valid
service name, and then try again.
指定的服务器名子有错,请重新指定一个服务器的名子,然后重试!