Score:0

Is PHP OpenSSL library completely isolated and in no way linked with any OpenSSL binary on Ubuntu

pn flag

We are using OpenSSL library provided by PHP. But does this PHP OpenSSL library internally uses OpenSSL binaries that are probably provided as pre-compiled binaries with Ubuntu OS ? Just putting in a doubt.

Just want to know that PHP OpenSSL library is completely isolated and in no way linked with any OpenSSL binary on Ubuntu ?

Score:2
vn flag

No - this is fairly obvious from the package lists. As with all other elements in Ubuntu, the PHP version (by default) is tied to the Ubuntu version, and the same rules apply to PHP as for any other .deb package.

  • For php8.1 (Ubuntu 22.04), libssl3 is the system-wide libssl.
  • For php7.4 (Ubuntu 20.04), libssl1.1 is the system-wide libssl.

If you installed PHP as a normal .deb package, then the dependency is shared with all other packages on the system.

On the other hand, if you installed PHP inside a container, then it would include its own dependencies, including libssl.

Atul avatar
pn flag
Thanks for the reply @Artur , is it same for PHP7.4.32
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.