Borked FastCGI after [SECURITY] [DSA 2266-1] php5 security update
Hi,
I have a stable server with these packages:
ii php5-cgi 5.3.3-7+squeeze3
server-side, HTML-embedded scripting language (CGI binary)
ii php5-common 5.3.3-7+squeeze3
Common files for packages built from the php5 source
ii php5-gd 5.3.3-7+squeeze3 GD
module for php5
ii php5-mysql 5.3.3-7+squeeze3
MySQL module for php5
If i'm not mistaken, all got updated (with aptitude update; aptitude
safe-upgrade) except php5-gd, however, after /etc/init.d/php5-fastcgi
restart all my php-based sites stopped working - simply because the
daemon silently failed to start.
In the php log i only had these:
[29-Jun-2011 23:07:59] PHP Warning: Directive 'register_long_arrays'
is deprecated in PHP 5.3 and greater in Unknown on line 0
[29-Jun-2011 23:07:59] PHP Warning: Directive 'magic_quotes_gpc' is
deprecated in PHP 5.3 and greater in Unknown on line 0
(one hour ahead of local and server time)
Issuing /etc/init.d/php5-fastcgi restart just did nothing, couldn't
grep any php through ps. No config files had been changed (and i
assume the update scripts would ask). After evoking the daemon
directly at the shell i got this error:
Host 'localhost' has multiple addresses. You must choose one explicitly!
Couldn't create FastCGI listen socket on port localhost:9000
In /etc/default/php-fastcgi i changed:
FCGI_HOST=localhost
to
FCGI_HOST=127.0.0.1
And /etc/init.d/php5-fastcgi start got my daemon and its children back up again.
I only have one public IP address and wouldn't bind to it anyway, so
is this error something i might've done ages ago and didn't bork then
'cos didn't restart the daemon? Or is it something else?
Cheers,
Nuno
--
Mars 2 Stay!
http://xkcd.com/801/
/etc
Reply to: