Upgrading to php5 openssl error

xema

Verified User
Joined
Oct 9, 2007
Messages
13
Hey guys,

I've been working days on having this figured out and i'm quite lost. Whilest upgrading php to the latest version i get the following error after "make install"

Code:
/root/php-5.2.4/ext/openssl/openssl.c:3818: error: `NID_commonName' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c: At top level:
/root/php-5.2.4/ext/openssl/openssl.c:3864: error: syntax error before '*' token
/root/php-5.2.4/ext/openssl/openssl.c:3864: error: syntax error before '*' token
/root/php-5.2.4/ext/openssl/openssl.c: In function `php_SSL_new_from_context':
/root/php-5.2.4/ext/openssl/openssl.c:3875: error: `stream' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3878: error: `ctx' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3878: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3896: error: `SSL_VERIFY_NONE' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3913: error: `X509' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3913: error: `cert' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3914: error: `EVP_PKEY' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3914: error: `key' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3915: error: `SSL' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3915: error: `tmpssl' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3923: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
/root/php-5.2.4/ext/openssl/openssl.c:3943: error: `ssl' undeclared (first use in this function)
make: *** [ext/openssl/openssl.lo] Error 1

My version of openssl "OpenSSL 0.9.8e 23 Feb 200"
 
Back
Top