As requested by a client, I need installing both php5 and php4 in my debian based server. To switch between php versions, suphp can do the job. However the pre-built package by debian team cannot be use directly, I edited, recompiled and packaged suphp before use. I noted the procedure of rebuilding the suphp package here. developer@dev:/tmp/rebuild$ apt-get source libapache2-mod-suphp [...]