K
K
Konstantin Rudenko2017-06-12 21:18:54
PHP
Konstantin Rudenko, 2017-06-12 21:18:54

Can't connect php 7.1 to Apache?

I decided to try to set up my local server on my own, I found a bunch of instructions on the Internet, everything went fine with php 5.6 and 7.0, but as soon as I connect 7.1 after restarting apache, it does not start, only one appears in the logs

The 'Apache2.4' service is restarting.
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 13872:tid 612] AH00098: pid file F:/Server/web/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

I connect php7.1 in apache configs in the same way as previous versions, I don’t change the rest of the config settings.
PHPIniDir "F:/Server/web/php-7.1"
AddHandler application/x-httpd-php .php
LoadModule php7_module "F:/Server/web/php-7.1/php7apache2_4.dll"

I tried to find on the Internet some differences in setting up a server under php7.1, but everything I found was standard and no different.
Please tell me what could be the problem.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question