Generate certificate using php

You can definitely combine --non-interactive and --manual.

Most likely you are missing some mandatory flags (such as the one a few posts back), and if you pay attention to the output of your execution, it will tell you which ones.