Funcion to get some php details as extension_dir setting