* First, download a trusted version of libapache2-mod-fcgid to 1:2.2-1 from http://packages.ubuntu.com/karmic/libapache2-mod-fcgid . In my case, running Ubuntu 64bit being in Singapore now, the closest mirror was Korea, so I did:
You can see the actual version of libapache2-mod-fcgid installed by typing:
sudo dpkg -s libapache2-mod-fcgid
And you can test that it remains even do an upgrade and then test if the version remains. You will see a notice when doing the upgrade that this package will be ignored.
Posted detailed instructions for downgrading on my blog at http:// www.socinfo. com/ubuntu/ php/fcgid/ bug-fix- corrupt- files-upload
Short Summary here:
* First, download a trusted version of libapache2- mod-fcgid to 1:2.2-1 from http:// packages. ubuntu. com/karmic/ libapache2- mod-fcgid . In my case, running Ubuntu 64bit being in Singapore now, the closest mirror was Korea, so I did:
wget http:// kr.archive. ubuntu. com/ubuntu/ pool/universe/ liba/libapache2 -mod-fcgid/ libapache2- mod-fcgid_ 2.2-1_amd64. deb
* Then install it with:
sudo dpkg -i libapache2- mod-fcgid_ 2.2-1_amd64. deb
* Finally, you need to "hold" this version so that it is not upgraded later on any maintenance process or update you do:
sudo -s mod-fcgid hold | dpkg --set-selections
echo libapache2-
That's it. You can reload Apache and restart Apache:
sudo etc/init.d/apache2 reload
sudo apache2ctl graceful
You can see the actual version of libapache2- mod-fcgid installed by typing:
sudo dpkg -s libapache2- mod-fcgid
And you can test that it remains even do an upgrade and then test if the version remains. You will see a notice when doing the upgrade that this package will be ignored.
sudo apt-get update mod-fcgid
sudo apt-get upgrade
sudo dpkg -s libapache2-