Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2005 18:08:25 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        amd64@freebsd.org
Subject:   php5 and pear
Message-ID:  <1131588505.78139.4.camel@triton.mcneil.com>

next in thread | raw e-mail | index | archive | help
Anyone else having difficulties with 6-STABLE, php5, and pear?  I tried
to portinstall drupal and I get

===>   Generating temporary packing list
install ok: Console_Getopt 1.2
/usr/ports/lang/php5/work/php-5.0.5/Zend/zend_hash.c(678) : ht=0x68a818
is already destroyed
/usr/ports/lang/php5/work/php-5.0.5/Zend/zend_hash.c(678) : ht=0x68a818
is already destroyed
/usr/ports/lang/php5/work/php-5.0.5/Zend/zend_hash.c(67) : Bailed out
without a bailout address!
*** Error code 255

Stop in /usr/ports/devel/pear-Console_Getopt.

I've tried to upgrade from php4 because I was constantly getting
allocation errors like

Fatal error: Allowed memory size of 8388608 bytes exhausted
at /usr/ports/lang/php5/work/php-5.0.5/Zend/zend_hash.c:242 (tried to
allocate 76 bytes) in /usr/local/share/pear/PEAR/Registry.php on line
1006
Allowed memory size of 8388608 bytes exhausted
at /usr/ports/lang/php5/work/php-5.0.5/Zend/zend_API.c:1770 (tried to
allocate 23 bytes)

I had to bump up the max memory to 16M in php.ini, but this doesn't help
for the pear stuff because that uses /usr/local/bin/pear* scripts which
call php with the -n option (no php.ini).

Any help would be greatly appreciated.

Cheers,
Sean

p.s. should I send this to ports@ since that is the port maintainer?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1131588505.78139.4.camel>