--with-openssl=/usr/local/openssl-unsafe
, and I don't have any issue.--with-openssl=/usr/local/openssl-unsafe
, and in this case PHP should compile without the issue. And my guide I mentioned here several times already is based onDEFAULT_VERSIONS+=ssl=openssl-unsafe
DEFAULT_VERSIONS+=ssl=openssl
openssl-unsafe
is used only for PHP 5.x