check php extension loaded in install process