Re: Issues with PHP5 and FreeBSD 5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 <jimjano <at> ptd.net> writes:

> 
> Hey all,
> 
> I am installing PHP5 from ports on FreeBSD 5.4.  It installed fine.  I then 
> installed php5-pear from ports as well....again install went fine.
> 
> When I try to run anything in pear I get:
> 
> /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8186550 is 
> already destroyed
> /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(678) : ht=0x8186550 is 
> already destroyed
> /usr/ports/lang/php5/work/php-5.0.4/Zend/zend_hash.c(67) : Bailed out without 
> a bailout address!
> 
> Any ideas?
> 
> Thanks in advance.
> 
> Jim
> 
> 

i have got the same 'error' on OSX 10.4.9
with uname -a:
Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007;
root:xnu-792.18.15~1/RELEASE_I386 
i386 i386

this is what i did:

=============
Apache 2.2.4:
=============
    ./configure --prefix=/usr/local/apache2    --enable-mods-shared=all    
--enable-ssl    --enable-so 
    make
    sudo make install


===========
zlib 1.2.3:
===========
    ./configure --prefix=/usr/local
    make
    sudo make install


==============
libpng 1.2.18:
==============
    ./configure --prefix=/usr/local
    make
    sudo make install


============
libjpeg-6b:
============
    sudo mkdir /usr/local/man
    sudo mkdir /usr/local/man/man1
    cp /usr/share/libtool/config.sub .
    cp /usr/share/libtool/config.guess .
    ./configure --prefix=/usr/local  --enable-shared --enable-static
    make
    sudo make install


===========
FreeType 2:
===========
Is already installed, use: --with-freetype=/usr/X11R6


==========
GD 2.0.34:
==========
    ./configure --prefix=/usr/local    --with-freetype=/usr/X11R6    
    make
    sudo make install

*******************************************
   Support for PNG library:          yes
   Support for JPEG library:         yes
   Support for Freetype 2.x library: yes
   Support for Fontconfig library:   yes
   Support for Xpm library:          yes
   Support for pthreads:             yes
******************************************


==========
PHP 5.2.3:
==========
    ./configure      --prefix=/usr/local/apache2/php5  --with-zlib    
--with-zlib-dir=/usr  --with-iconv  --with-libxml-dir=/usr/local     
--with-xsl=/usr/local   --enable-ftp          --with-xpm-dir=/usr/local  
--enable-ftp --with-mysql=/usr/local/mysql  --with-libxml-dir=/usr/local   
--with-freetype-dir=/usr/X11R6        --with-curl=/usr 
--with-jpeg-dir=/usr/local    --with-png-dir=/usr/local  
--with-gd=/usr/local --enable-fastcg 
--with-apxs2=/usr/local/apache2/bin/apxs
    make
    make test
    sudo make install


==================================
/usr/local/apache2/conf/httpd.conf
==================================
    is already added in httpd.conf by php5 'make instal':
        LoadModule php5_module        modules/libphp5.so

    Add yourself in 'httpd.conf':
    <IfModule php5_module> 
        AddType application/x-httpd-php .php 
        AddType application/x-httpd-php-source .phps 
        DirectoryIndex index.html index.php 
    </IfModule>

i am hopeless...
ps. (cant post lines longer than 80 characters, thats why i needed to break some
lines)

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux