conf - About setting apache configuration file! Find the solution!
天蓬老师
天蓬老师 2017-05-16 17:03:56
0
1
616

Why can't it start and report an error?
I've tried it many times and nothing else is a problem.
If these two lines are annotated, apache can be started normally.
I installed the xampp-win32-1.8.2-3-VC9-installer.exe environment,
php5apache2_2.dll originally existed in the php directory and was not downloaded separately.
PHPIniDir has also been tried to be changed to D:/xampp/php/php.ini,
But it also cannot start 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:\xampp\apache\bin\httpd.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

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
Ty80

If the php related configuration lines are not correct, then there should be no errors in the port.
It is recommended to run apachectl -t now to see the check results of the configuration file.

In addition, the PHPIniDir setting in the screenshot is obviously wrong, and the .ini suffix is ​​missing from the file name.

=================

The path of apachectl is:/Applications/xampp/xamppfiles/bin/apachectl

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!