<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/php5.6>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
<IfModule mod_fastcgi.c>
AddHandler php5.6-fcgi .php
Action php5.6-fcgi /php5.6-fcgi
Alias /php5.6-fcgi /usr/lib/cgi-bin/php5.6-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5.6-fcgi -socket /run/php/php5.6-fpm.sock -pass-header Authorization
<Directory "/usr/lib/cgi-bin">
Require all granted
</Directory>
</IfModule>
</Directory>
PHP 5.6 pool
[php5.6]
user = www-data
group = www-data
listen = /run/php/php5.6-fpm.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
FPM Status
# systemctl status php5.6-fpm.service
● php5.6-fpm.service - The PHP 5.6 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php5.6-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-12-05 09:03:01 -03; 27s ago
Docs: man:php-fpm5.6(8)
Main PID: 28208 (php-fpm5.6)
Status: "Processes active: 0, idle: 4, Requests: 0, slow: 0, Traffic: 0req/sec"
CGroup: /system.slice/php5.6-fpm.service
├─28208 php-fpm: master process (/etc/php/5.6/fpm/php-fpm.conf)
├─28209 php-fpm: pool php5.6
├─28210 php-fpm: pool php5.6
├─28211 php-fpm: pool www
└─28212 php-fpm: pool www
Any clue?
_______________________________________________
Daniel A. Rodriguez
Departamento de Tecnología para la Gestión
Escuela Provincial de Educación Técnica N° 1
Posadas - Misiones - Argentina
(0376) 443-8578
www.epet1.edu.ar