Well, when I was checking the requirements for symfony 2, I was presented with this Major Problem. I tried adding
suhosin.executor.include.whitelist=”phar”
to the end of php.ini file, but that was not helping. The important thing I was missing was installing php5-suhosin.
So install php5-suhosin by
sudo apt-get install php5-suhosin
And do restart your apache server before checking again.