I'm having trouble when installing an older version of PHP (5.1) on a Ubuntu machine. I've tried to downgrade it without success using apt-get, so I tried to install from source. After the installation, typing
php -v in the terminal results in the correct version (i.e. 5.1), but the version that apache uses keep the same (the older one: 5.4) if I view it through
How do I add the installation I just did to apache in place of the older one? I need to remove the older version and make apache recognize the version I just installed.