From owner-freebsd-questions@FreeBSD.ORG Mon Apr 11 20:06:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01D5D16A4CE for ; Mon, 11 Apr 2005 20:06:29 +0000 (GMT) Received: from mpdir5.jmu.edu (mpdir5.jmu.edu [134.126.12.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1CA143D45 for ; Mon, 11 Apr 2005 20:06:22 +0000 (GMT) (envelope-from vaughajj@jmu.edu) Received: from jmu.edu (ip34-49.pc.jmu.edu [134.126.34.49]) by mpdir5.jmu.edu (MOS 3.5.8-GR) with ESMTP id BVE43126 (AUTH vaughajj); Mon, 11 Apr 2005 16:06:15 -0400 (EDT) Date: Mon, 11 Apr 2005 16:02:25 -0400 Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed From: John J Vaughan To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <9FDED520-AAC4-11D9-9887-000A957957BC@jmu.edu> X-Mailer: Apple Mail (2.553) Subject: Problems installing php5-pear (zend_hash.c(678) : ht=0x8181f10 is already destroyed) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 20:06:29 -0000 I'm having problems getting pear installed with apache2, PHP5, mysql, ssl, on 5.3-RELEASE. I first installed and configured mysql41, apache2, mod_php5, and php5-openssl without a problem. Having read that PEAR was included in all php versions > 4.3.0 (http://pear.php.net/manual/en/installation.php), I rushed to the assumption that it was also included in the mod_php5 package. I now know that PEAR requires a CLI or CGI on PHP5 to run. First I tried swapping the ports using the portupgrade -o switch as shown on its manpage #portupgrade -o devel/php5-pear mod_php5 That didn't work because php5-pear kept complaining that mod_php5 was installed, even forcing with -fo So I . . . #cd /usr/ports/www/mod_php5 #make deinstall #portinstall -Rr php5-pear When that was done, I added /usr/local/share/pear to my php.ini file and #apachectl restart Now when trying to run pear from the command line I get: #pear /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8181f10 is already destroyed /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8181f10 is already destroyed /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(67) : Bailed out without a bailout address! Also, when I try to: #pear install DB downloading DB-1.7.6.tar ... Starting to download DB-1.7.6.tar (-1 bytes) ........................................................................ ........................................................................ ..done: 735,232 bytes requires package `PEAR' >= 1.0b1 DB: Dependencies failed /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8181f10 is already destroyed /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8181f10 is already destroyed /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(67) : Bailed out without a bailout address! When I go to any page that calls DB.php from the PEAR package, the page pulls up blank with just Other php pages load fine. (PHP debugger is turned on) Any suggestions? Is it better to install just PHP5 and then get PEAR from the PEAR website by doing: #lynx -source http://go-pear.org/ | php Here's some info about this system: #uname -a FreeBSD ip24-135.pc.jmu.edu 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 #pkg_info apache-2.0.53_1 Version 2 of Apache web server with prefork MPM. autoconf-2.53_3 Automatically configure source code on many Un*x platforms autoconf-2.59_2 Automatically configure source code on many Un*x platforms automake-1.5_2,1 GNU Standards-compliant Makefile generator (version 1.5) bison-1.75_2 A parser generator from FSF, (mostly) compatible with Yacc cvsup-without-gui-16.1h General network file distribution system optimized for CVS expat-1.95.8 XML 1.0 parser written in C fastest_cvsup-0.2.8 Finds fastest CVSup server fontconfig-2.2.3,1 An XML-based font configuration API for X Windows freetype2-2.1.9 A free and portable TrueType font rendering engine gettext-0.14.1 GNU gettext package gmake-3.80_2 GNU version of 'make' utility help2man-1.35.1 Automatically generating simple manual pages from program o imake-6.8.2 Imake and other utilities from X.Org jpeg-6b_3 IJG's jpeg compression utilities libiconv-1.9.2_1 A character set conversion library libltdl-1.5.10 System independent dlopen wrapper libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) libtool-1.3.5_2 Generic shared library support script (version 1.3) libtool-1.5.10_1 Generic shared library support script (version 1.5) libxml2-2.6.19 XML parser library for GNOME m4-1.4.3 GNU m4 mysql-client-4.1.11 Multithreaded SQL database (client) mysql-server-4.1.11 Multithreaded SQL database (server) openssh-3.6.1_5 OpenBSD's secure shell client and server (remote login prog openssl-0.9.7f SSL and crypto library p5-gettext-1.03 Message handling functions pdflib-6.0.1_1 A C library for dynamically generating PDF pecl-pdflib-2.0.4 A PECL extension to create PDF on the fly perl-5.8.6_2 Practical Extraction and Report Language php5-5.0.4_1 PHP Scripting Language (Apache Module and CLI) php5-bz2-5.0.4_1 The bz2 shared extension for php php5-gd-5.0.4_1 The gd shared extension for php php5-mbstring-5.0.4_1 The mbstring shared extension for php php5-mcrypt-5.0.4_1 The mcrypt shared extension for php php5-mysql-5.0.4_1 The mysql shared extension for php php5-mysqli-5.0.4_1 The mysqli shared extension for php php5-openssl-5.0.4_1 The openssl shared extension for php php5-pcre-5.0.4_1 The pcre shared extension for php php5-pear-5.0.4_1 PEAR framework for PHP php5-xml-5.0.4_1 The xml shared extension for php php5-zlib-5.0.4_1 The zlib shared extension for php phpMyAdmin-2.6.1.3 A set of PHP-scripts to manage MySQL over the web pkgconfig-0.15.0_1 A utility used to retrieve information about installed libr png-1.2.8_1 Library for manipulating PNG images portaudit-0.5.9 Checks installed ports against a list of security vulnerabi porteasy-2.8.3 A tool for fetching and building ports portupgrade-20041226_1 FreeBSD ports/packages administration and management tool s ruby-1.8.2_3 An object-oriented interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full featu screen-4.0.2_1 A multi-screen window manager sudo-1.6.8.7 Allow others to run commands as root t1lib-5.0.1,1 A Type 1 Rasterizer Library for UNIX/X11 xorg-libraries-6.8.2 X11 libraries and headers from X.Org