Problems installing php5-pear (zend_hash.c(678) : ht=0x8181f10 is already destroyed)

2005-04-11 Thread John J Vaughan
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  
[EMAIL PROTECTED]:/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,1GNU Standards-compliant Makefile generator (version  
1.5)
bison-1.75_2A parser generator from FSF, (mostly) compatible  
with Yacc
cvsup-without-gui-16.1h General network file distribution system  
optimized for CVS
expat-1.95.8XML 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_2GNU 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_1A 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_1Generic shared library support script (version 1.5)
libxml2-2.6.19  XML parser library for GNOME
m4-1.4.3GNU 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_2Practical Extraction and Report Language
php5-5.0.4_1PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.0.4_1The 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_1The 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

Re: wget port

2005-02-07 Thread John J Vaughan
Or you could try using curl instead.
ports/ftp/curl
-John
On Sunday, February 6, 2005, at 01:36  PM, DanGer wrote:
Hi dave,
Sunday, February 6, 2005, 7:11:28 PM, you has on mind:
Hello,
I was wondering what the status of the wget ports was? I've been 
getting
an error about wget 1.8.2 having vulnerabilities so i uninstalled it 
and
installed or tried to install wget-devel, but portaudit said it also 
had
vulnerabilities and it would not permit the install to continue.
Thanks.
Dave.
wget has serious vulnerabilities that aren't already fixed even in
devel port...if you want install wget despite these vulns, try to do
make -DDISABLE_VULNERABILITIES install
--
Best Regards,
+--==/\/\==--+   (__)  FreeBSD
| DanGer <[EMAIL PROTECTED]> |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve
[ Joe's Moturary: You Stab 'Em, We Slab 'Em! ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring mod_php4

2005-01-25 Thread John J Vaughan
To answer my own question, I used the php4-extensions port and selected 
what I needed.

#cd lang/php4-extensions
#make config
selected the extensions I wanted
#portinstall php4-extensions
-John

On Tuesday, January 25, 2005, at 02:37  PM, John J Vaughan wrote:
I am trying to get mod_php4 loaded with the additional options -DEAPI 
(I'm using phpMyAdmin) and --enable-calendar.  I read the makefile, 
which didn't have any CONFIGURE_ARGS+=

First I tried using portupgrade (I already have a running 5.3-RELEASE 
w/ Apache1.3-modssl, mysql-4.1.9, and mod_php4 with standard config 
args):
So I forced an upgrade using the added options
# portupgrade -fM '-DEAPI--enable-calendar' mod_php4
That seemed to go smoothly.  Afterwards, I checked my httpd.conf and 
started Apache.

When I looked at phpinfo.php, only the following options were listed:
'./configure' '--enable-versioning' '--enable-memory-limit' 
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
'--disable-all' '--with-regex=php' '--disable-cli' 
'--with-apxs=/usr/local/sbin/apxs' '--disable-ipv6' 
'--prefix=/usr/local' 'i386-portbld-freebsd5.3'

So, then I tried it manually:
Shutdown apache
#cd /usr/ports/www/mod_php4
#pkg_delete -f mod_php4
#make -DEAPI--enable-calendar
#make install
Restarted Apache
Still the same options listed in phpinfo.php.
Thanks for your help.
-John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



John Vaughan
WIN Technical Coordinator
James Madison University
(E) [EMAIL PROTECTED]
(W) 540.568.8774
(H) 540.652.0922
(M) 757.478.5398


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Configuring mod_php4

2005-01-25 Thread John J Vaughan
I am trying to get mod_php4 loaded with the additional options -DEAPI 
(I'm using phpMyAdmin) and --enable-calendar.  I read the makefile, 
which didn't have any CONFIGURE_ARGS+=

First I tried using portupgrade (I already have a running 5.3-RELEASE 
w/ Apache1.3-modssl, mysql-4.1.9, and mod_php4 with standard config 
args):
So I forced an upgrade using the added options
# portupgrade -fM '-DEAPI--enable-calendar' mod_php4
That seemed to go smoothly.  Afterwards, I checked my httpd.conf and 
started Apache.

When I looked at phpinfo.php, only the following options were listed:
'./configure' '--enable-versioning' '--enable-memory-limit' 
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
'--disable-all' '--with-regex=php' '--disable-cli' 
'--with-apxs=/usr/local/sbin/apxs' '--disable-ipv6' 
'--prefix=/usr/local' 'i386-portbld-freebsd5.3'

So, then I tried it manually:
Shutdown apache
#cd /usr/ports/www/mod_php4
#pkg_delete -f mod_php4
#make -DEAPI--enable-calendar
#make install
Restarted Apache
Still the same options listed in phpinfo.php.
Thanks for your help.
-John
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"