Hello recently i tried some PHP coding, i've been trying to setup everything for it but found a problem
Whenever i insert these lines into my httpd.conf and restarted Apache it refused to start
LoadModule php7_module "C:/xampp/php/php7apache2_4.dll"
PHPIniDir "C:/xampp/php/"
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler application/x-httpd-php .php
I have tested and yes, Apache starts without those in the httpd.conf
so my question is
1. how i solve the Apache not running problem with the httpd.conf
2. does it matter where i put the lines in the httpd.conf?
here is the error log when i tried to run Apache with the lines:
[Wed Oct 26 01:18:08.509754 2016] [ssl:warn] [pid 12260:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:18:09.371803 2016] [ssl:warn] [pid 12260:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:18:09.660819 2016] [mpm_winnt:notice] [pid 12260:tid 240] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.9 configured -- resuming normal operations
[Wed Oct 26 01:18:09.660819 2016] [mpm_winnt:notice] [pid 12260:tid 240] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37
[Wed Oct 26 01:18:09.660819 2016] [core:notice] [pid 12260:tid 240] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Oct 26 01:18:09.664820 2016] [mpm_winnt:notice] [pid 12260:tid 240] AH00418: Parent: Created child process 15544
[Wed Oct 26 01:18:10.606874 2016] [ssl:warn] [pid 15544:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:18:11.340915 2016] [ssl:warn] [pid 15544:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:18:11.376918 2016] [mpm_winnt:notice] [pid 15544:tid 252] AH00354: Child: Starting 150 worker threads.
[Wed Oct 26 01:31:46.495540 2016] [ssl:warn] [pid 16364:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:31:46.763555 2016] [ssl:warn] [pid 16364:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:31:46.788556 2016] [mpm_winnt:notice] [pid 16364:tid 248] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.9 configured -- resuming normal operations
[Wed Oct 26 01:31:46.788556 2016] [mpm_winnt:notice] [pid 16364:tid 248] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37
[Wed Oct 26 01:31:46.788556 2016] [core:notice] [pid 16364:tid 248] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Oct 26 01:31:46.790557 2016] [mpm_winnt:notice] [pid 16364:tid 248] AH00418: Parent: Created child process 16656
[Wed Oct 26 01:31:47.339588 2016] [ssl:warn] [pid 16656:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:31:47.601603 2016] [ssl:warn] [pid 16656:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 26 01:31:47.628604 2016] [mpm_winnt:notice] [pid 16656:tid 260] AH00354: Child: Starting 150 worker threads.