安装apache_2.0.58出错解决

 

重新配置 PHP 遇到的问题 - -
今天装 Apache 2.0.58 ,装的时候老是出现这个错误提示:
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
Note the errors or messages above, and press the <ESC> key to exit.
24...
把我搞的郁闷的呀,打开 httpd.conf 看了看,发现 198 行是这样的东西: ServerAdmin
上面还有一些解释是这样说的:
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin
启动 apache 会出现下面的错误提示:
[Wed Jan 19 15:38:22 2005] [error] (OS 2)
系统找不到指定的文件。 : No installed service named "Apache2".
Note the errors or messages above, and press the <ESC> key to exit.
15...15...

把上面那几行改成这个样子
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.
This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#ServerAdmin

然后把 apache 装成 WINDOWS 的服务,方法是这样的。 进入到 C:/Program Files/Apache Group/Apache2/bin/ 目录下,执行下面的命令: apache -k install ,这样 apache 就做为 windows 的一项服务了,再启动 apache 就不出现上面的错误提示了。
最后终于把 Apache 给启动起来了。

在启动 MYSQL 的时候,又碰到了问题。重启 MYSQL 的时候,老是弹出这么一个对话框,内容是: HP Startup:Unable to load dynamic library

'c:/Program Files/php5.0.2/ext/php_mysqli.dll'-
找不到指定的模块。
经过多方面的寻找原因,最后还是把问题给解决了。方法是 copy libmysqli.dll windir /system32 下就可以解决问题 .

访问 http://127.0.0.1:8080/ 成功
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值