php: Complain if bcmath or sockets extension is not available