今天中午装Apache 2.0.52,装的时候老是出现这个错误提示:
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takesone 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给启动起来了。
有一些基本的概念不太清楚呀。
现在我有点分不清Apache和php5之间的关系。
到底是Apache在解释PHP程序呢?还是PHP5在解释执行PHP程序?如果是Apache在解释执行的话,那么安装PHP5的作用是什么呢?
在启动MYSQL的时候,又碰到了问题。重启MYSQL的时候,老是弹出这么一个对话框,内容是:HP Startup:Unable to load dynamic library
'c:\Program Files\php5.0.2\ext\php_mysqli.dll'-找不到指定的模块。
经过多方面的寻找原因,最后还是把问题给解决了。方法是copy libmysqli.dll到 %windir%\system32下就可以解决问题.
现在的开源项目都有一个共同特点,都比较贴近计算机底层,一般的新手会被php.ini,httpd.conf里大把大把的文字还是英文弄得头晕脑涨的。其实MS流行是很正常的,没有人愿意看到那些源码类的东西,大家都喜欢看到窗口形的,经过封装的东西,简明,容易理解。各有各的优缺点吧,容易理解的东西速度慢,贴近底层的东西速度上有优势还比较稳定。用途不同,采用不同的东西.
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takesone 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给启动起来了。
有一些基本的概念不太清楚呀。
现在我有点分不清Apache和php5之间的关系。
到底是Apache在解释PHP程序呢?还是PHP5在解释执行PHP程序?如果是Apache在解释执行的话,那么安装PHP5的作用是什么呢?
在启动MYSQL的时候,又碰到了问题。重启MYSQL的时候,老是弹出这么一个对话框,内容是:HP Startup:Unable to load dynamic library
'c:\Program Files\php5.0.2\ext\php_mysqli.dll'-找不到指定的模块。
经过多方面的寻找原因,最后还是把问题给解决了。方法是copy libmysqli.dll到 %windir%\system32下就可以解决问题.
现在的开源项目都有一个共同特点,都比较贴近计算机底层,一般的新手会被php.ini,httpd.conf里大把大把的文字还是英文弄得头晕脑涨的。其实MS流行是很正常的,没有人愿意看到那些源码类的东西,大家都喜欢看到窗口形的,经过封装的东西,简明,容易理解。各有各的优缺点吧,容易理解的东西速度慢,贴近底层的东西速度上有优势还比较稳定。用途不同,采用不同的东西.