The command line must be executed with a cli PHP binary! The current PHP sapi type is "cgi-fcgi".