Error: You are using PHP for CGI. To execute sync_contacts_dolibarr2ldap.php from command line, you must use PHP for CLI mode.