Jul 24
Expected Downtime
So I’m trying to add a neat feature to this site but it seems I need to first upgrade from php4 to php5. Since Gentoo effectively removed the old cli-php and cgi-php packages and converged them into the plain php package (with cli or cgi USE flags), I have to remove PHP and attempt a reinstall. This means that this site may be unavailable for a few hours tonight.
2 Comments so far
Leave a comment
So zero-blog was down for about an hour while I removed the old php4 packages and installed the new php5 packages that make use of USE flags instead of 3+ separate packages. To read more about updating your php install on x86 Gentoo, read these directions.
Okay so some of you may have noticed the 10 hours worth of downtime. What happened was there was a change to the Lighttpd config. To those who care, make sure that PHP is compiled with either ‘cli’ or ‘cgi’ in your use flags. Then make sure to turn on the following line in /etc/lighttpd/lighttpd.conf:
include “mod_fastcgi.conf”
That config needs the usual fastcgi options set as well as /etc/lighttpd/mod_fastcgi,conf. I am not sure if mod_fastcgi.conf trumps the similar options in lighttpd.conf, so your results may vary.