OpenSSL error when installing PHP SDK on macOS Sonoma

Thanks @mreiche for answer. But it does not apply.
The first attempt is successful.
BTW We do not have such /private/tmp/pear directory.