Чувствуется, топики с проблемами обновления дебиана будут расти как на дрожжах :)
В общем, сделал я dist-upgrade, после перезапуска apache упорно использует mod_php для сайтов, где явно прописано использование fcgid. suexec из-за этого, естественно, не работает. Кусочек apache.conf:
<VirtualHost 1.2.3.4:8080>
ServerName example.com
DocumentRoot /var/www/example/data/www/example.com
SuexecUserGroup example example
CustomLog /var/www/httpd-logs/example.access.log combined
ErrorLog /var/www/httpd-logs/example.error.log
ServerAdmin admin@example.com
ScriptAlias /cgi-bin/ /var/www/example/data/www/example.com/cgi-bin/
AddHandler fcgid-script .php .php3 .php4 .php5 .phtml
VirtualDocumentRoot /var/www/example/data/www/example.com/%1
</VirtualHost>
и
<Directory /var/www/example/data/www/example.com>
FCGIWrapper /var/www/example/data/php-bin/php .php
FCGIWrapper /var/www/example/data/php-bin/php .php3
FCGIWrapper /var/www/example/data/php-bin/php .php4
FCGIWrapper /var/www/example/data/php-bin/php .php5
FCGIWrapper /var/www/example/data/php-bin/php .phtml
Options +ExecCGI
</Directory>
Тут всё абсолютно стандартно. Прошу обратить внимание, что php5.conf у меня отключен:
root@example.com:~# ls -lah /etc/apache2/mods-enabled/ | grep php5
lrwxrwxrwx 1 root root 31 May 6 00:43 php5_cgi.conf -> ../mods-available/php5_cgi.conf
lrwxrwxrwx 1 root root 31 May 6 00:43 php5_cgi.load -> ../mods-available/php5_cgi.load
lrwxrwxrwx 1 root root 27 Sep 30 2011 php5.load -> ../mods-available/php5.load
и fcgi включен:
root@example:~# ls -lah /etc/apache2/mods-enabled/ | grep fcgi
lrwxrwxrwx 1 root root 28 Sep 30 2011 fcgid.conf -> ../mods-available/fcgid.conf
lrwxrwxrwx 1 root root 28 Sep 30 2011 fcgid.load -> ../mods-available/fcgid.load
Версии apache и php:
root@example:~# apache2 -v
Server version: Apache/2.2.22 (Debian)
Server built: Mar 4 2013 22:05:16
root@example:~# php -v
PHP 5.4.4-14 (cli) (built: Mar 4 2013 14:08:43)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
root@example:~# php-cgi -v
PHP 5.4.4-14 (cgi-fcgi) (built: Mar 4 2013 14:03:57)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Логи suexec (/var/log/apache2/suexec.log) не наполняются с момента обновления.
В логах apache ничего странного нету:
[Mon May 06 15:39:12 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 06 15:39:12 2013] [warn] RSA server certificate CommonName (CN) `example.com' does NOT match server name!?
[Mon May 06 15:39:12 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 06 15:39:12 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 06 15:39:13 2013] [notice] FastCGI: process manager initialized (pid 830)
[Mon May 06 15:39:13 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 06 15:39:13 2013] [warn] RSA server certificate CommonName (CN) `example.com' does NOT match server name!?
[Mon May 06 15:39:13 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Mon May 06 15:39:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Mon May 06 15:39:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Mon May 06 15:39:13 2013] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 Phusion_Passenger/3.0.13 PHP/5.4.4-14 mod_ssl/2.2.22 OpenSSL/1.0.1e mod_wsgi/3.3 Python/2.7.3 mod_perl/2.0.7 Perl/v5.14.2 configured -- resuming normal operations
Ну, разве что есть какие-то странные сегфолты время от времени (раньше не было):
[Mon May 06 20:19:45 2013] [notice] child pid 10591 exit signal Segmentation fault (11)
[Mon May 06 20:20:37 2013] [notice] child pid 15783 exit signal Segmentation fault (11)
[Mon May 06 20:20:50 2013] [notice] child pid 16846 exit signal Segmentation fault (11)
[Mon May 06 20:21:22 2013] [notice] child pid 17313 exit signal Segmentation fault (11)
[Mon May 06 20:21:50 2013] [notice] child pid 17307 exit signal Segmentation fault (11)
[Mon May 06 20:22:25 2013] [notice] child pid 14899 exit signal Segmentation fault (11)
[Mon May 06 20:23:11 2013] [notice] child pid 17302 exit signal Segmentation fault (11)
[Mon May 06 20:23:18 2013] [notice] child pid 17836 exit signal Segmentation fault (11)
[Mon May 06 20:23:44 2013] [notice] child pid 18835 exit signal Segmentation fault (11)
[Mon May 06 20:23:56 2013] [notice] child pid 14901 exit signal Segmentation fault (11)
Но, думаю, они к делу не относятся, с ними буду разбираться позже. Буду благодарен за любую помощь.