I'm able to see in phpinfo.php that I've PHP5.4 installed for use. Now, I'm trying to install symfony2 via composer. When I begin installing composer, it gives me an error stating that php5.3 is required but php5.2 is installed. It tells me to upgrade which I did yet I couldn't see any change. I'm checking the PHP version through ssh by php -v and it shows PHP5.2 installed. My simple question is, how can I upgrade this PHP version so that I can install the composer? It's a Debian based Linux OS.
UPDATE: A little more information. I added the following lines to /etc/apt/sources.list to install PHP54.
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all
I checked the Debian version by "cat /proc/version" and it is 4.4.5-8.