Not able to configure PHP in XAMPP. Help.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Not able to configure PHP in XAMPP. Help.

Postby janakvyas » 24. February 2019 12:45

Reading this in one of the books, installed xampp and was tring to configure but couldn't do so!

Interacting with the PHP server

The Apache web server must know how to pass files that contain PHP code to the
PHP server for processing.

This is a two-step process.

First, you have to tell the Apache web server to load the PHP server module so that
it can establish the link between the Apache and PHP servers. You do that using
the LoadModule directive:

Code: Select all
LoadModule php7_module "c:/xampp/php/php7apache2_4.dll"


After Apache loads the PHP module, you have to tell it what type of files to send to
the PHP server. You do this using the AddHandler directive:

Code: Select all
AddHandler application/x-httpd-php .php


This directive tells the Apache web server to forward all files with the .php file
extension to the PHP module, which then forwards the files to the PHP server for
processing.



THIS IS The ERROR LOG :
[Sun Feb 24 12:51:05.501355 2019] [ssl:warn] [pid 3012:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 12:51:05.594360 2019] [ssl:warn] [pid 3012:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 12:51:05.797372 2019] [mpm_winnt:notice] [pid 3012:tid 264] AH00455: Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.3.2 configured -- resuming normal operations
[Sun Feb 24 12:51:05.797372 2019] [mpm_winnt:notice] [pid 3012:tid 264] AH00456: Apache Lounge VC15 Server built: Jan 18 2019 12:31:19
[Sun Feb 24 12:51:05.797372 2019] [core:notice] [pid 3012:tid 264] AH00094: Command line: 'f:\\xampp\\apache\\bin\\httpd.exe -d F:/XAMPP/apache'
[Sun Feb 24 12:51:05.829373 2019] [mpm_winnt:notice] [pid 3012:tid 264] AH00418: Parent: Created child process 2160
[Sun Feb 24 12:51:06.516413 2019] [ssl:warn] [pid 2160:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 12:51:06.582416 2019] [ssl:warn] [pid 2160:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 12:51:06.678422 2019] [mpm_winnt:notice] [pid 2160:tid 276] AH00354: Child: Starting 150 worker threads.
[Sun Feb 24 15:43:58.068632 2019] [ssl:warn] [pid 5192:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:43:58.140636 2019] [core:warn] [pid 5192:tid 264] AH00098: pid file F:/XAMPP/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Feb 24 15:43:58.144636 2019] [ssl:warn] [pid 5192:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:43:58.186638 2019] [mpm_winnt:notice] [pid 5192:tid 264] AH00455: Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.3.2 configured -- resuming normal operations
[Sun Feb 24 15:43:58.186638 2019] [mpm_winnt:notice] [pid 5192:tid 264] AH00456: Apache Lounge VC15 Server built: Jan 18 2019 12:31:19
[Sun Feb 24 15:43:58.186638 2019] [core:notice] [pid 5192:tid 264] AH00094: Command line: 'f:\\xampp\\apache\\bin\\httpd.exe -d F:/XAMPP/apache'
[Sun Feb 24 15:43:58.187638 2019] [mpm_winnt:notice] [pid 5192:tid 264] AH00418: Parent: Created child process 6844
[Sun Feb 24 15:43:58.870677 2019] [ssl:warn] [pid 6844:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:43:58.955682 2019] [ssl:warn] [pid 6844:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:43:59.003685 2019] [mpm_winnt:notice] [pid 6844:tid 276] AH00354: Child: Starting 150 worker threads.
[Sun Feb 24 15:51:02.653916 2019] [ssl:warn] [pid 3532:tid 224] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:51:02.679918 2019] [so:warn] [pid 3532:tid 224] AH01574: module php7_module is already loaded, skipping
[Sun Feb 24 15:51:02.733921 2019] [core:warn] [pid 3532:tid 224] AH00098: pid file F:/XAMPP/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Feb 24 15:51:02.802925 2019] [ssl:warn] [pid 3532:tid 224] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:51:02.803925 2019] [mpm_winnt:notice] [pid 3532:tid 224] AH00455: Apache/2.4.38 (Win32) PHP/7.3.2 OpenSSL/1.1.1a configured -- resuming normal operations
[Sun Feb 24 15:51:02.803925 2019] [mpm_winnt:notice] [pid 3532:tid 224] AH00456: Apache Lounge VC15 Server built: Jan 18 2019 12:31:19
[Sun Feb 24 15:51:02.803925 2019] [core:notice] [pid 3532:tid 224] AH00094: Command line: 'f:\\xampp\\apache\\bin\\httpd.exe -d F:/XAMPP/apache'
[Sun Feb 24 15:51:02.805925 2019] [mpm_winnt:notice] [pid 3532:tid 224] AH00418: Parent: Created child process 3448
[Sun Feb 24 15:51:03.429961 2019] [so:warn] [pid 3448:tid 240] AH01574: module php7_module is already loaded, skipping
[Sun Feb 24 15:51:03.556968 2019] [ssl:warn] [pid 3448:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:51:03.587970 2019] [so:warn] [pid 3448:tid 240] AH01574: module php7_module is already loaded, skipping
[Sun Feb 24 15:51:03.695976 2019] [ssl:warn] [pid 3448:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 24 15:51:03.697976 2019] [mpm_winnt:notice] [pid 3448:tid 240] AH00354: Child: Starting 150 worker threads.


PLEASE HELP !
I am totally new to this.
janakvyas
 
Posts: 1
Joined: 24. February 2019 12:37
XAMPP version: v3.2.2
Operating System: Windows 7

Re: Not able to configure PHP in XAMPP. Help.

Postby Nobbie » 25. February 2019 10:13

Why??

Undo all your changes and then simply start Apache, Xampp comes perfectly preconfigured out of the box. Read the Xampp FAQ instead of that book.
Nobbie
 
Posts: 10882
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 86 guests