php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2144 Apache 3.9 + PHP4B2 + XML problems
Submitted: 1999-08-25 06:09 UTC Modified: 1999-10-01 04:30 UTC
From: Daniel dot Schneider at tecfa dot unige dot ch Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Solaris 2.6 (Sun)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Daniel dot Schneider at tecfa dot unige dot ch
New email:
PHP Version: OS:

 

 [1999-08-25 06:09 UTC] Daniel dot Schneider at tecfa dot unige dot ch
Hi folks, I installed a new Apache + PHP

Now my XML stuff either doesnt compute as it should or it crashes.

Sorry I did not produce a simple script that reproduces the problem
- since I actually just wonder if the (latest) expat library is not appropriate
(I have seen that there is some expat-lite in the Apache distribution).
- because maybe someone has found and repaired the same bug
- because my simple XML examples work :(

E.g. with old Apache 1.3.4 + PHP 3.08 this works:
 http://tecfa2.unige.ch/staf/staf-e/staf18/proj-liste1.php

This fails (Apache 1.3.8 + PHP4 beta 2):
 http://tecfa2.unige.ch:88/staf/staf-e/staf18/proj-liste1.php

Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x00268828 status:
Beginning:      Cached (allocated on xml.c:133, 24 bytes)
      End:      OK
---------------------------------------
Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x0026DE20 status:
Beginning:      Cached (allocated on xml.c:133, 24 bytes)
      End:      OK
---------------------------------------
Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
[......]
---------------------------------------
Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x002D8F48 status:
Beginning:      Cached (allocated on xml.c:133, 24 bytes)
      End:      OK
---------------------------------------
Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
zend_hash.c(746) : Block 0x002E3BA8 status:
Beginning:      Cached (allocated on zend_hash.c:380, 35 bytes)
      End:      OK
---------------------------------------
[Wed Aug 25 11:25:11 1999] [notice] child pid 19507 exit signal Segmentation Fault (11)
Script:  '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'

Here is an example that computes something, but wrong:
http://tecfa2.unige.ch/staf/staf-e/staf18/parse-tree.php (good)
http://tecfa2.unige.ch:88/staf/staf-e/staf18/parse-tree.php (bad)

Source files (if of interest) are all available:
http://tecfa2.unige.ch/staf/staf-e/staf18/

My installation:

env LDFLAGS=-L/local/lib CPFLAGS=-I/local/include ./configure  --with-mysql=/local/servers/mysql --with-apache=../apache_1.3.9 --prefix=/local --with-ldap=/local --enable-track-vars --enable-magic-quotes --enable-debugger --enable-url-includes --with-zlib=/local --with-gd=/local --with-msql=/comm2/soft/msql2 --with-exec-dir=/local/bin --with-system-regex --with-xml

env LIBS="-L/local/servers/mysql/lib/ -lmysqlclient -L/comm2/soft/msql2/lib -lmsql -L/local/lib -lgdbm -lz" ./configure --prefix=/local/servers/apache-test --activate-module=src/modules/php4/libphp4.a --enable-suexec --suexec-caller=www --suexec-userdir=.www --suexec-uidmin=1000 --suexec-gidmin=1000 --suexec-safepath="/bin:/usr/bin" --enable-module=expires --enable-module=info --enable-module=usertrack --enable-module=unique_id --add-module=src/modules/extra/mod_put.c --enable-module=rewrite

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-01 04:30 UTC] thies at cvs dot php dot net
the XML stuff should be OK in the current CVS!

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 13:01:35 2025 UTC