I've setup Apache with PHP 7-fpm and fastcgi.
Most of the php pages load normally, but a few of the Joomla 3.5 Admin pages load really slowly or timeout.
The Apache error log shows:
Code:
[Fri May 06 20:44:20.789615 2016] [fastcgi:error] [pid 6063:tid 139747715245824] [client 5.199.157.1:61446] FastCGI: comm with server "/usr/lib/cgi-bin/php7.0" aborted: idle timeout (30 sec), referer: https://www.xgclan.com/administrator/index.php [Fri May 06 20:44:20.789671 2016] [fastcgi:error] [pid 6063:tid 139747715245824] [client 5.199.157.1:61446] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php7.0", referer: https://www.xgclan.com/administrator/index.php
Code:
error_reporting = E_ALL display_errors = On display_startup_errors = On log_errors = On log_errors_max_len = 0 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = On html_errors = On error_log = /var/log/php_errors.log
Code:
<IfModule mod_fastcgi.c> AddType application/x-httpd-fastphp7.0 .php Action application/x-httpd-fastphp7.0 /php7.0-fcgi Alias /php7.0-fcgi /usr/lib/cgi-bin/php7.0 FastCgiExtealServer /usr/lib/cgi-bin/php7.0 -socket /var/run/php/php7.0-fpm.sock -pass-header Authorization <Directory /usr/lib/cgi-bin> Require all granted </Directory> </IfModule>
برچسب:
نویسنده: استخدام کار