关于php5.3.0这个版本安装不上openssl扩展

我查了好多资料
Php源码默认里面有openssl的源码在这里面安装就可以了
源码路径:/usr/local/src/php-5.3.0/ext/openssl
但是安装到最后出现了错误,查资料后没有解决的办法
 
Php官网里面相同的情况说是php的bug,需要升级php版本

安装过程:
    [root@web01 ~]# cd /usr/local/src/php-5.3.0/ext/openssl
    [root@web01 openssl]# /opt/php/bin/phpize

    [root@web01 openssl]# ./configure –with-php-config=/opt/php/bin/php-config
    [root@web01 openssl]# make && make install

最后错误片段

/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2652: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2668: warning: pointer targets in initialization differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_public_encrypt':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2717: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2727: warning: pointer targets in initialization differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_public_decrypt':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2776: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2794: warning: pointer targets in initialization differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_sign':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2876: warning: pointer targets in passing argument 3 of 'EVP_SignFinal' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2879: warning: pointer targets in initialization differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_verify':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2915: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_seal':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2983: warning: pointer targets in passing argument 4 of 'EVP_EncryptUpdate' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:2995: warning: pointer targets in initialization differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c: In function 'zif_openssl_open':
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:3059: warning: pointer targets in passing argument 3 of 'EVP_OpenInit' differ in signedness
/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/openssl/openssl.c:3059: warning: pointer targets in passing argument 4 of 'EVP_DecryptUpdate' differ in signedness
make: *** [ext/openssl/openssl.lo] Error 1

Bug网址:https://bugs.php.net/bug.php?id=32150