Thank you so much guys.
Yes, my hosting provider is hostgator, and I followed their steps to test the site with PHP 5.4, but it appeared not compatible, so I came back to PHP 5.2.
I don't know much about programming. I hope the upgrade won't affect my website much. I'll investigate further. Thank you both for the explanations.
Bookmarks