better install check for required variables in php.ini

ref to https://github.com/Codiad/Codiad/issues/323