PHPBrew - 在Ubuntu 18.04上使用openSSL安装php 5.3.2

I am trying to install PHP 5.3.2 on Ubuntu 18.04 using PHPBrew. I have no trouble with installing it without OpenSSL but when I want to install OpenSSL I get several errors.

My first attempt was to just use +openssl but then I got a lot of errors from OpenSSL. Then I installed OpenSSL 0.9.8 and used it as +openssl=/usr/local/openssl/ and now I get the following error:

configure: error: Cannot find OpenSSL's libraries

I have no idea what libraries it can't find. I already fixed the missing evp.h file by making a symbolic link in /usr/local/openssl to /usr/local/openssl/include/openssl/evp.h.