workaround pecl when uploadprogress is already on the system