Install additional PHP version in different folder on Ubuntu 8.04
        Posted  
        
            by 
                chessweb
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by chessweb
        
        
        
        Published on 2010-12-22T12:17:46Z
        Indexed on 
            2010/12/22
            12:55 UTC
        
        
        Read the original article
        Hit count: 298
        
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
© Server Fault or respective owner