|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-07 19:14 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
hi all, mentioned this earlier on php-dev. asked a couple people, no one had seen it before, but... I just got a message to binarycloud-dev asking about the _exact_ same problem, so here goes: I have tried this with php 4.0.4 and php 4.0.3pl1: xml_parser_create() segfaults the apache child process running the function _every_time_ it is called. I was under the impression that xml support relied on a library, which is why I didn't enter a bug. Further readong revealed to me that there is a version of expat compiled in from the php source tree. ------------------------------- Some info: --------------------------------------- # cd /usr/ # find . -name *libxml* ./lib/libxml.so.1 ./lib/libxml.so.1.8.6 ./lib/libxml.a ./lib/libxml.la ./lib/libxml.so ./lib/libxml.so.2 ./lib/libxml.so.2.2.8 ./lib/libxmlparse.so.0 ./lib/libxmlparse.so.0.1.0 ./lib/libxmltok.so.0 ./lib/libxmltok.so.0.1.0 ./lib/libxmlparse.a ./lib/libxmlparse.la ./lib/libxmlparse.so ./lib/libxmltok.a ./lib/libxmltok.la ./lib/libxmltok.so ./local/lib/libxml.so.2 ./local/lib/libxml.so ./local/lib/libxml.la ./local/lib/libxml.a ./local/include/libxml --------------------------------------- ---------------------------------- compile info: redhat 6.2 cd apache_1.3.14 ./configure --prefix=/usr/local/apache cd ../php-4.0.4/ ./configure \ --prefix=/usr/local/php4.module \ --with-config-file-path=/usr/local/apache/conf \ --with-apache=../apache_1.3.14 \ --enable-ftp \ --with-zlib=/usr/ \ --enable-bcmath \ --enable-calendar \ --with-jpeg-dir=/usr/lib \ --with-tiff-dir=/usr/lib \ --with-openssl \ --with-mhash=/usr/local/mhash \ --with-mcrypt=/usr/bin/mcrypt \ --enable-debug=no \ --with-mysql=/usr/local \ make make install cd ../apache_1.3.14 ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a make make install ----------------------------------