Technix
Technology Weblog

Archive for the ‘server’ Category

Repair Corrupt RPM databases

March 12, 2009

Sometimes RPM databases become corrupt. You will no longer be able to install/upgrade/remove programs using YUM or RPM command. Even RPM quey simply gets hung. This is the case when you need to repair RPM databases. You can use the simple script to do it. cp -pr /var/lib/rpm{,`data +%F`.bk} rm -f /var/lib/rpm/__db* rpm -vv –rebuilddb […]

Running PHP4 and PHP5 concurrently.

January 18, 2008

Running PHP4 and PHP5 There are many times when we need PHP4 and PHP5 to run concurrently on the server.In such cases we can Install one as apache module and other as CGI Install PHP4 or PHP5 as apache module. Lets install PHP5 as apache module Download PHP5 untar it and move to its directory. […]