Avoid requiring the PHP readline extension if not necessary

This commit allows the generation of a superuser also in systems where PHP readline is not available, but only if all the parameters have already been supplied in the command line.