Re: Compiling PHP 7.3 with latest OpenSSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2019 at 6:51 PM Christoph M. Becker <cmbecker69@xxxxxx> 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.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux