There is a typo/mistake in this post
the line that starts with ....function ZimbraAdminCreateAccount ...should have NewUserPassword (not NewPassword) so it matches other parts of php.
Also, helpful pointer....make sure you enable the SOAP and CURL extensions in your PHP.INI |