Hi,
I'm looking to build PHP 7.4 including the OpenSSL module. (on FreeBSD 14.1) I downloaded a ports tree from 12.4 and was able to build PHP as well as most extensions, according to this post. When including the OpenSSL module however, the build fails.
I tried installing
I've found different instructions (such as this) on how to do this in general, though I am unsure whether they apply to the ports tree. Is there a correct or simple way to do this using the ports tree?
I'm looking to build PHP 7.4 including the OpenSSL module. (on FreeBSD 14.1) I downloaded a ports tree from 12.4 and was able to build PHP as well as most extensions, according to this post. When including the OpenSSL module however, the build fails.
Code:
/usr/ports/security/php74-openssl/work/php-7.4.32/ext/openssl/openssl.c:1520:51: error: use of undeclared identifier 'RSA_SSLV23_PADDING'
I tried installing
openssl111
, and adding it to /etc/make.conf
, but that gives me the following and the previous error, respectively.
Code:
make[1]: "/usr/ports/Mk/Uses/ssl.mk" line 95: You are using an unsupported SSL provider openssl111 (/usr/ports/security/openssl111/version.mk) ()
I've found different instructions (such as this) on how to do this in general, though I am unsure whether they apply to the ports tree. Is there a correct or simple way to do this using the ports tree?