PDA

Bekijk Volledige Versie : Upgrade naar php5 openssl error?



swedendedicated
09/10/07, 20:41
Hoi,

Ik krijg het volgende met php5 na make install:


/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

Iemand enig idee?

ichosting
09/10/07, 22:04
Dit was een handmatige install begrijp ik? Of via de customapache

Had je toevallig al geprobeerd om apache opnieuw te builden met MOD_SSL?

ju5t
09/10/07, 22:10
Welke versie van OpenSSL gebruik je? Deze is waarschijnlijk toe aan een upgrade.

En om de een of andere rare reden kan ik niets editten, maar de laatste versie is zo uit m'n hoofd 0.9.8e en het commando om te kijken welke versie je zelft hebt is # openssl version.

swedendedicated
09/10/07, 22:20
vergeten te melden ja, ik draai 0.9.8
opnieuw compilen van apache heeft uiteraard geen zin want dan krijg je dezelfde error... ik gebruik namelijk gewoon /usr/local/directadmin/customapache/configure.php