下载apache for win,安装之。
下载mysql for win,安装之。
下载php for win,记得下zip版本。
下载mysql for win,安装之。
下载php for win,记得下zip版本。
解决方案 »
- php解析
- php中将表单数据存入MySQL的问题
- php菜鸟问题
- 如何实现这样的功能!
- PHP调用mysql函数出错
- 刚开发完成一个MySQL数据库动态创建系统,比phpMyAdmin要灵活方便多了,如果想要,跟我联系吧
- 请问 php 中如果使用 【xmlhttp】, 对客户端浏览器和服务器端的操作系统有没有什么限制?
- 邮件编码问题
- 可稳定支持PHP的虚拟主机,现在这种服务不多了~~~~~~~~~~~~~~
- 在PHP4.2中,表单的文本输入框中单引号都变成\',双引号都变成\",现在不想这样,如何解决?
- 请问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.
指定的服务器名子有错,请重新指定一个服务器的名子,然后重试!