This server is running ubuntu 9.04, apache 2 and running running PHP 5.2.6-3ubuntu4.4 from the repository. I installed another a new version of PHP (5.3.1, compiled from source), I then replaced the link of this version with /usr/bin/php5. Now cli loads the new version
name:/$php -v PHP 5.3.1 (cli) (built: Dec 9 2009 21:44:18 ) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
However, apache still loads the old version. What should I do to get apache load the new version?