conf - 关于设置apache配置文件!求解!
问题描述
为什么启动不了,而报错!我试了很多次了,其它都没有问题。如果注译这2行是可以正常启动的apache的。我安装的是xampp-win32-1.8.2-3-VC9-installer.exe环境,php5apache2_2.dll是它在php目录下原先存在的,没有另外下载。PHPIniDir也尝试过修改为D:/xampp/php/php.ini,但也同样不能启动apache!
[Sun Jan 12 15:00:52.795055 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:53.460093 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:53.877117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 configured -- resuming normal operations[Sun Jan 12 15:00:53.878117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 16:07:35[Sun Jan 12 15:00:53.878117 2014] [core:notice] [pid 7544:tid 256] AH00094: Command line: ’d:xamppapachebinhttpd.exe -d D:/xampp/apache’[Sun Jan 12 15:00:53.899118 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00418: Parent: Created child process 5512[Sun Jan 12 15:00:55.171191 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:55.973237 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:56.106244 2014] [mpm_winnt:notice] [pid 5512:tid 268] AH00354: Child: Starting 150 worker threads.[Sun Jan 12 15:27:04.794454 2014] [core:warn] [pid 7920:tid 196] AH00117: Ignoring deprecated use of DefaultType in line 112 of
error.logs
问题解答
回答1:如果没有php相关配置行正确的好,那端口方面应该没有错误。建议现运行apachectl -t ,看看配置文件的检查结果。
另外,截图中的PHPIniDir设置明显不对,文件名称中少了.ini的后缀名。
=================
apachectl的路径是:/Applications/xampp/xamppfiles/bin/apachectl
相关文章:
1. 一个走错路的23岁傻小子的提问2. angular.js - angularjs 使用鼠标悬停时,标签一直闪3. c++ - win764位环境下,我用GCC为什么指针占8个字节,而long是4个字节?4. html5 - HTML代码中的文字乱码是怎么回事?5. java - 安卓电视盒子取得了root权限但是不能安装第三方应用,请问该怎么办?6. javascript - SuperSlide.js火狐不兼容怎么回事呢7. android - 安卓activity无法填充屏幕8. python 计算两个时间相差的分钟数,超过一天时计算不对9. python - django 里自定义的 login 方法,如何使用 login_required()10. node.js - 函数getByName()中如何使得co执行完后才return
