php5 and pear
Sean McNeil
sean at mcneil.com
Wed Nov 9 18:08:28 PST 2005
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?
More information about the freebsd-amd64
mailing list