有请高手高手高高手!!!!!!!!!!我给100啊,不够加100!!

兄弟的配置:
Win98
Apache 1.3.17
Php 4.2.3
Mysql 3.23.49
PhpMyAdmin 2.2.1
我把它们全装在C:\下面,照着各位前辈高人的秘籍忙乎了一星期,还没有配置好,我都没信心了,php怎么这么难?入门都找不到门?谁能救我于水深火热中,高分有赏,现在分不够以后再补啊!
1。总看到有高人说把ServerName 改成 localhost 到底是“localhost”还是我自己的ip地址啊?
2。PhpMyAdmin到底有何用处?到底应该放在哪个目录下?怎么配置它?
麻烦各位前辈高人讲的详细点,分谢分谢!!!
---------------------------------------------------------------

1、ServerName 取什么你自己定好了,localhost或IP都可以。
2、phpMyAdmin是一个PHP写的操作MYSQL数据库的GUI界面。
---------------------------------------------------------------

1.如果你在本机开发调试可以用localhost,如果在局域网其他机器上也要调试就要用ip,如果有域名系统支持,就可以用域名的主机名称
2.随便放在哪里都可以,只要你配置apache,设置好路径,给他端口或者虚拟目录
---------------------------------------------------------------

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

 1<virtualhost> and Listen directives.   
 2#   
 3BindAddress 127.0.0.1 ————————修改处   
 4  
 5#   
 6# Apache Modules compiled into the standard Windows build   
 7  
 8另外,你的MySql初次安装时需要   
 9$cfgServers[1]['user'] = 'root';   
10$cfgServers[1]['password'] = '123';   
11相关的user和password,你安装好后,再在源文件相关的config.php文件里修改MySql的信息。   
12\---------------------------------------------------------------   
13  
14  
15ScriptAlias /php4/ "c:/PHP/"   
16AddType application/x-httpd-php4 .php   
17AddType application/x-httpd-php4 .php3   
18AddType application/x-httpd-php4 .php4   
19AddType application/x-httpd-php-source .phps   
20Action application/x-httpd-php4 "/php4/php.exe"</virtualhost>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus