0

I followed this but got crazy results: switch apache from prefork to event in Ubuntu 16, get php 7 working

My goal is to also enable http2, which is not compatible with mod_prefork. What happens is apache starts up but only serves the source of all PHP pages. I know I'm using mpm_event because a2query -M tells me so, also third party sites which test for http2 return success, but only for the php source! Swapping everything back with a2enmod php7.2 makes everything work again, but back with the old mpm_prefork and no http2.

I must be close because apache runs. The only things in the apache error log are several lines like

[Thu Feb 28 17:06:08.489893 2019] [:error] [pid 15062:tid 140075829955520] avahi_entry_group_add_service_strlst("admin on master") failed: Local name collision 

I think avahi is related to http2. Non-php sites work OK. Anyone spot how to get php going again under this config please?

2
  • 1
    How have you configured Apache to call php-fpm? Commented Feb 28, 2019 at 19:17
  • I used a2enconf php7.2-fpm I also made the entry in 000-default.conf as shown here websiteforstudents.com/… Commented Feb 28, 2019 at 19:46

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.