Jump to content

Upgrading of OpenSSL separate to PHP5


Recommended Posts

This is just a clarification question!

 

We have compiled OpenSSL into PHP5 using the -with-openssl directive. My question is: when we want to upgrade OpenSSL on the servers in question (for obvious securty reasons), do we have to re-compile PHP. I wouldn't expect so...but you never know these things.

 

A response from anyone with an insight into these things would be appreciated.

 

Cheers.

Link to comment
https://forums.phpfreaks.com/topic/73905-upgrading-of-openssl-separate-to-php5/
Share on other sites

My question is: when we want to upgrade OpenSSL on the servers in question (for obvious securty reasons), do we have to re-compile PHP

 

No. All you need do is use phpize.

 

$ cd openssl/source/dir
$ phpize
$ ./configure --enable-options
$ make

 

This should create an .so file. All you need do then is copy it to your extensions directory (/usr/local/lib/php/extensions/ is the default) and restart Apache.

 

EDIT: Fixed a few typos.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.