ID:               36001
 User updated by:  long+phpbugs at kestrel dot cc dot ku dot edu
 Reported By:      long+phpbugs at kestrel dot cc dot ku dot edu
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Tru64 4.0F
 PHP Version:      4.4.2
 Assigned To:      cellog
 New Comment:

Yes, php4-STABLE-200602081535 appeared to install just fine.  Thanks.


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

[2006-02-08 02:12:19] [EMAIL PROTECTED]

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



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

[2006-01-13 23:42:15] long+phpbugs at kestrel dot cc dot ku dot edu

Yes, that appears to have worked.  Thanks.

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

[2006-01-13 22:29:20] bkw at weisshuhn dot de

Supposed fix:

--- php-4.4.2.orig/pear/Makefile.frag   2005-11-05 19:19:23.000000000
+0100
+++ php-4.4.2/pear/Makefile.frag        2006-01-13 21:27:07.848122481
+0100
@@ -3,7 +3,7 @@
 peardir=$(PEAR_INSTALLDIR)

 # Skip all php.ini files altogether
-PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
+PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
-dmemory_limit=-1

 install-pear-packages: $(top_builddir)/sapi/cli/php
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS)
$(srcdir)/install-pear.php -d "$(peardir)" -b "$(bindir)"
$(srcdir)/packages/*.tar

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

[2006-01-13 19:24:22] [EMAIL PROTECTED]

Assigned to the maintainer.

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

[2006-01-13 19:18:57] long+phpbugs at kestrel dot cc dot ku dot edu

Description:
------------
When I build php with --enable-memory-limit make install fails due to
hitting the memory limit.


Reproduce code:
---------------
Use:

LD_LIBRARY_PATH='/usr/local/ldap' \
CFLAGS='-O2 -std1 -ifo -taso' \
CXXFLAGS='-std1 -O2 -ifo -taso' \
CC='cc' \
CXX='cxx' \
'./configure' \
'--with-openssl' \
'--enable-bcmath' \
'--with-ndbm' \
'--with-dbm' \
'--enable-dbase' \
'--enable-filepro' \
'--enable-ftp' \
'--with-gd' \
'--with-ttf' \
'--with-java=/usr/opt/java141' \
'--with-mysql' \
'--with-oci8' \
'--with-oracle' \
'--enable-shmop' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-wddx' \
'--enable-dba=shared' \
'--enable-calendar' \
'--enable-exif' \
'--enable-discard-path' \
'--enable-dbx' \
'--enable-ctype' \
'--with-hyperwave' \
'--enable-mailparse' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--enable-memory-limit' \
'--with-ldap=/usr/local/ldap' \
'--with-inifile' \
'--with-flatfile' \
'--enable-dio' \
'--enable-sysvmsg' \
'--with-zlib' \
'--with-zlib-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/local' \
'--with-cdb=shared'

build it using 'make'.  Then run 'make install'.


Expected result:
----------------
I expect PHP to be installed.


Actual result:
--------------
# make install
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/local/bin/
Installing shared extensions:    
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in
/apps/usr/users/long/src/php-4.4.2/pear/PEAR/PackageFile/v2.php on line
962

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 87 bytes) in /apps/usr/users/long/src/php-4.4.2/pear/PEAR.php
on line 767
*** Exit 255
Stop.
*** Exit 1
Stop.



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


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

Reply via email to