I am attempting to spin up PHPBrew and installing PHP 5.5.38 (I know - it's old and we shouldn't be using it but I have little say in the matter!)
Running:
phpbrew install 5.5.38
Runs into the following error:
/home/me/.phpbrew/build/php-5.5.38/ext/openssl/openssl.c:4991:17:
error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^~~~~~~~~~
Makefile:524: recipe for target 'ext/openssl/openssl.lo' failed
make: *** [ext/openssl/openssl.lo] Error 1
I came across a solution at https://github.com/phpbrew/phpbrew/issues/939 which suggests downgrading openssl. I am a bit reluctant to do this - brand new shiny install and all - Ubuntu 18.04 - and it seems counter-intuitive to downgrade parts of a system for a tool that I was hoping to use alongside existing packages (rather than have to send them backwards).
I'm no PHPBrew expert but is it just the libssl-dev that is needed to make this work? Is there a way of obtaining the relevant dev files, letting PHPBrew know of these and not interfere with my current version of openssl?