ID:               28945
 Updated by:       [EMAIL PROTECTED]
 Reported By:      erwan dot le-disez at linbox dot com
-Status:           Open
+Status:           Feedback
-Bug Type:         *Compile Issues
+Bug Type:         Compile Failure
 Operating System: IRIX 6.2
 PHP Version:      4.3.7
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2004-06-28 11:34:37] erwan dot le-disez at linbox dot com

Description:
------------
Hello,

During the compilation of PHP 4.3.7 the make install phase create a
fatal error. The compil process is stoppped.

This seems to be a bug in php.

See bellow for the error.

Thanks
(and sorry, i don't speak english very well).

Reproduce code:
---------------
The instruction which causes the fault is :

register_shutdown_function("_PEAR_call_destructors");

Actual result:
--------------
make install
Installing PHP SAPI module:       apache
[activating module `php4' in
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf]
cp libs/libphp4.so /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so
chmod 755 /tmp/apache-1.3.31+php-4.3.7/libexec/libphp4.so
cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.bak
cp /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new
/tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf
rm /tmp/apache-1.3.31+php-4.3.7/conf/httpd.conf.new
Installing PHP CLI binary:        /tmp/apache-1.3.31+php-4.3.7/bin/
Installing PHP CLI man page:     
/tmp/apache-1.3.31+php-4.3.7/man/man1/
Installing PEAR environment:     
/tmp/apache-1.3.31+php-4.3.7/lib/php/

Fatal error: Possible integer overflow in memory allocation (4 * 1 + 0)
in /d/Distrib/Compils/apache/php-4.3.7/pear/PEAR.php on line 967
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28945&edit=1

Reply via email to