I need to run OpenSSL GOST for PHP rebuild it with the addition of the line
OPENSSL_config (NULL);
in the file "ext / openssl / openssl.c". I insert a line into this file in the right place and execute the commands:
./configure --with-pdo-mysql --with-mysql --with-curl --enable-intl --enable-mbstring = all
make
make install
The PHP version is updated, everything works, but in the end it still gives out
error: 0609E09C: digital envelope routines: PKEY_SET_TYPE: unsupported algorithm
I understand that everything is not so simple with patches on Debian and just adding a line to the file is not enough? PHP 5.4 version, on a Debian 7 server with Apache.