php 5.3 - older openssl

[email protected] (Andre Hübner)
Newsgroups php.install
Message-ID <[email protected]>
Hi,

is there any chance to run php 5.3 with older openssl libs. On my machine 
Version 0.9.6 is installed.
At compiling i get error:

/bin/sh 
/usr/src//php5-5.3.1/libtool --silent --preserve-dup-deps --mode=compile 
cc  -Iext/openssl/ -I/usr/src//php5-5.3.1/ext/openssl/ -DPHP_ATOM_INC -I/usr/src//php5-5.3.1/include 
 -I/usr/src//php5-5.3.1/main -I/usr/src//php5-5.3.1 -I/usr/src//php5-5.3.1/ext/date/lib 
 -I/usr/src//php5-5.3.1/ext/ereg/regex -I/usr/include/libxml2 -I/usr/src//php5-5.3.1/ext/mbstring/oniguruma 
 -I/usr/src//php5-5.3.1/ext/mbstring/libmbfl -I/usr/src//php5-5.3.1/ext/mbstring/libmbfl/mbfl 
 -I/usr/src//php5-5.3.1/TSRM -I/usr/src//php5-5.3.1/Zend    -I/usr/include -g 
 -O2  -c /usr/src//php5-5.3.1/ext/openssl/openssl.c -o 
ext/openssl/openssl.lo
/usr/src//php5-5.3.1/ext/openssl/openssl.c: In function 
`php_openssl_generate_private_key':
/usr/src//php5-5.3.1/ext/openssl/openssl.c:2763: warning: passing arg 2 of 
`DH_set_method' makes pointer from integer without a cast
/usr/src//php5-5.3.1/ext/openssl/openssl.c: In function `zif_openssl_seal':
/usr/src//php5-5.3.1/ext/openssl/openssl.c:4125: warning: passing arg 2 of 
`EVP_SealInit' discards qualifiers from pointer target type
/usr/src//php5-5.3.1/ext/openssl/openssl.c: In function `zif_openssl_open':
/usr/src//php5-5.3.1/ext/openssl/openssl.c:4215: warning: passing arg 2 of 
`EVP_OpenInit' discards qualifiers from pointer target type
/usr/src//php5-5.3.1/ext/openssl/openssl.c: In function 
`zif_openssl_digest':
/usr/src//php5-5.3.1/ext/openssl/openssl.c:4545: error: void value not 
ignored as it ought to be
make: *** [ext/openssl/openssl.lo] Error 1

I know, openssl 0.9.6 is rather old, but unfortunately not only on machine 
is involved but a loth of them.
Updating openssl itself results in lots dependency-errors, this should be no 
way for me.
Any ideas?

Thanks,
Andre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.