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