Install additional PHP version in different folder on Ubuntu 8.04
- by chessweb
Hi,
I'm on a Host Europe VPS running Ubuntu 8.04 server. PHP version is 5.2.4. Now there is an application (Moodle 2.0) that needs at least PHP 5.2.8.
I don't want to upgrade serverwide to PHP 5.2.8 because that might impair other applications (e.g. Plesk). The FAQ at Host Europe suggest to install an additional PHP 5.2.8 in /opt/php and I think I can handle that with
$ dpkg -i php_..._.deb --root /opt/php (Is that correct, by the way?)
However, how do I point Apache to the new PHP installation?
Thanks for any advice,
Ralf