Re: Compiling PHP 7.3 with latest OpenSSL
| From: | Pete Cooper | Date: | Tue, 18 Jun 2019 18:44:42 +0000 |
| Subject: | Re: Compiling PHP 7.3 with latest OpenSSL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326829@lists.php.net to get a copy of this message | ||
On Tue, Jun 18, 2019 at 6:51 PM Christoph M. Becker <cmbecker69@gmx.de>
wrote:
> On 18.06.2019 at 18:29, Pete Cooper wrote:
>
> > My questions:
> >
> > * Is it possible to compile PHP 7.3 with OpenSSL source?
>
> No. PHP looks for the headers and the libraries, so the sources are not
> sufficient.
>
Thank you for the clarification.
> > * Does using
--with-openssl and
> > --with-openssl-dir together force the
> > system-native version to be used because --with-openssl
> > appears before
> > --with-openssl-dir?
>
> These configuration options are used by different PHP extensions. PHP's
> OpenSSL extension uses --with-openssl. --with-openssl-dir is used by
> the FTP and the SNMP extension; if you don't need these, you can ignore
> --with-openssl-dir altogether.
>
> In any way, config.log is your friend. If the configuration fails,
> there should be some useful info about what went wrong.
>
Now I understand. I was using --with-openssl-dir=[DIR] when I should
actually have been using --with-openssl=[DIR].
Thank you for your insight and advice, Christoph -- I am grateful for your
time and assistance.