Why dont I have an apache service? (updated to php7)

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Why dont I have an apache service? (updated to php7)

Postby mozaika » 04. November 2017 21:10

Hello
I've been working with xampp for few month. (with php 5..)
now I installed php 7
added these lines to httpd.conf-
addHandler application/x-httpd-php .php
addType application/x-httpd-php .html .htm
LoadModule php7_module "c:/php/php7apache2_4.dll"
PHPIniDir "c:/php"


when i run xampp i get Error: Apache shutdoun unexpectedly.
i see nothing from today in the error log
what did i do wrong?
mozaika
 
Posts: 2
Joined: 04. November 2017 21:01
XAMPP version: 3.2.2
Operating System: windows 10

Re: Why dont I have an apache service? (updated to php7)

Postby Nobbie » 05. November 2017 11:41

Did you delete the corresponding configuration for PHP5? You cannot load PHP5 and PHP7 twice as modul, only one can be loaded. If you only added the lines and did not delete anything, you probably have a missmatch in your configuration.

I cannot recommend to replace the PHP module anyway, either install another Xampp or use PHP in CGI Mode.
Nobbie
 
Posts: 9771
Joined: 09. March 2008 13:04


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 6 guests