We should review the configuration section of php for using fastCGI process manager.

I haven't set up a new httpd/php system in a long time and I needed to do it today.

I tried the commands we have for fpm, but I couldn't get them to work. What does work is to add --with-apxs2 to the php configure. It updates httpd.conf directly.

It did not seem to matter that I had

  --enable-fpm                 \
  --with-fpm-user=apache       \
  --with-fpm-group=apache      \

in the configure command.

Also needed to the httpd.conf file is:

  AddType application/x-httpd-php .php

And possibly:

  AddType application/x-httpd-phps .phps
  AddType application/x-httpd-php3 .php3 .phtml
  AddType application/x-httpd-php .html

The ProxyPassMatch did not seem to do anything even after I started the php-fpm daemon.

The library (module) added is /usr/lib/httpd/modules/libphp7.so

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to