gmsk1812(SK) 就是阿,你这不是误人子弟吗!! 兄弟,我给你原文件# #Listen 3000 #Listen 12.34.56.78:80# # BindAddress: You can support virtual hosts with this option. This directive # is used to tell the server which IP address to listen to. It can either # contain "*", an IP address, or a fully qualified Internet domain name. # See also the <VirtualHost> and Listen directives. # BindAddress 127.0.0.1 ————————修改处# # Apache Modules compiled into the standard Windows build另外,你的MySql初次安装时需要 $cfgServers[1]['user'] = 'root'; $cfgServers[1]['password'] = '123'; 相关的user和password,你安装好后,再在源文件相关的config.php文件里修改MySql的信息。
2.随便放在哪里都可以,只要你配置apache,设置好路径,给他端口或者虚拟目录
你的问题说的不清,有什么错误?说出来?注意:看看是否运行了php安装目录中的注册表文件,并重新启动下系统。
除设定ServerName外还有
BindAddress 这一项前面加#号你就可以用127.0.0.1或你现有的ip访问自己.
PhpMyAdmin放在DocumentRoot指向的目录
兄弟,我给你原文件#
#Listen 3000
#Listen 12.34.56.78:80#
# BindAddress: You can support virtual hosts with this option. This directive
# is used to tell the server which IP address to listen to. It can either
# contain "*", an IP address, or a fully qualified Internet domain name.
# See also the <VirtualHost> and Listen directives.
#
BindAddress 127.0.0.1 ————————修改处#
# Apache Modules compiled into the standard Windows build另外,你的MySql初次安装时需要
$cfgServers[1]['user'] = 'root';
$cfgServers[1]['password'] = '123';
相关的user和password,你安装好后,再在源文件相关的config.php文件里修改MySql的信息。
另外phpmyadmin是需要修改config.inc.php的,一般按照你初次安装mysql是的用户和密码来设置,如果还有问题,请联系:[email protected]
如:http://localhost/hello.htm,可以看到网页,
http://loacalhost/hello.php就报错找不到服务器,
hello.htm是纯html,hello.php是htm中插有php,php代码段就是显示不了,
Why?怎么会这样?谁能给我个理由先?
这么多人,我只有80分啊,我给谁啊?
ScriptAlias /php4/ "c:/PHP/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php4 "/php4/php.exe"
else try use php for linux.
phpMyAdmin is good WEB tools to handle mysql
AddType application/x-httpd-php .php
LoadModule php4_module "c:/php/sapi/php4apache2.dll"呵..爽吧.
我可爱的apache和php!~
爽,太爽了!
不好意思啊,菜鸟就是这样,一点皮毛都算不上的东西都得意忘形。
给分!!!