Your php.ini from PHP 5.2 is referencing obsolete php_XXX.dll extensions that are no more supported on PHP 5.4 since the errors.

Either clean your php.ini and remove references to obsolete PHP extensions or install PHP 5.4 in a fresh location and configure Abyss Web Server to use the new PHP 5.4 instead of the old PHP setup._________________Support Team
Aprelium - http://www.aprelium.com