error when upgrading PHP 7.0.24 on CentOS 5

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
508
Location
Oslo
I am updating PHP 7.0.24 on a CentOS 5 server, and it shows error:

Code:
//custombuildusr//phplocal-/7.0.24directadmin//Zendcustombuild//zend_operators.hphp:-1177.0.24:/ Zendundefined/ zend_operators.hreference: 117to:  `undefinedisfinite 'reference
 Zendto/ .`libsisfinite/'zend_operators.o
:Zend//usr./libs/localzend_operators.o/:directadmin//usrcustombuild//phplocal-/7.0.24directadmin//Zendcustombuild//zend_operators.hphp:-1177.0.24:/ Zendmore/ zend_operators.hundefined: 117references:  tomore  `undefinedisfinite 'references  followto
 `isfinite' follow
collect2: collect2: ld returned 1 exit statusld returned 1 exit status

make: *** [sapi/cgi/php-cgi] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cli/php] Error 1
/usr/local/php-imap/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/local/directadmin/custombuild/imap-2007f/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/standard/.libs/var.o: In function `php_var_export_ex':
/usr/local/directadmin/custombuild/php-7.0.24/ext/standard/var.c:469: undefined reference to `isfinite'
main/.libs/php_variables.o: In function `zend_dval_to_lval':
/usr/local/directadmin/custombuild/php-7.0.24/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zendi_smart_strcmp':
/usr/local/directadmin/custombuild/php-7.0.24/Zend/zend_operators.c:2774: undefined reference to `isfinite'
Zend/.libs/zend_operators.o: In function `zend_dval_to_lval':
/usr/local/directadmin/custombuild/php-7.0.24/Zend/zend_operators.h:117: undefined reference to `isfinite'
/usr/local/directadmin/custombuild/php-7.0.24/Zend/zend_operators.h:117: undefined reference to `isfinite'
Zend/.libs/zend_operators.o:/usr/local/directadmin/custombuild/php-7.0.24/Zend/zend_operators.h:117: more undefined references to `isfinite' follow
collect2: ld returned 1 exit status
make: *** [sapi/phpdbg/phpdbg] Error 1

I know that CentOS5 is EOL, but this customer doesn't want to upgrade yet. Any idea for the above error?
Thanks.
 
Back
Top