-c option (php.ini) should be before the last command (the router). Otherwise php never reads the php.ini file