#24841 [Opn->Bgs]: a --with-xml won't load apache
ID: 24841
Updated by: sniper@php.net
Reported By: herps at raqtweak dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Sun/Cobalt RAQ550 / RedHat 7.x
PHP Version: 4.3.2
New Comment:
Doing 'apachectl restart' is not gonna work when you install
new module. You need to 'apachectl stop' and then 'apachectl start' to
get it work. Most likely some issue with using e.g. --with-regex=system
(read ./configure --help) and linking with external expat.
(--with-expat-dir).
Not PHP bug, really.
Previous Comments:
------------------------------------------------------------------------
[2003-07-28 06:39:34] herps at raqtweak dot com
Description:
------------
OK, first things first.
I use a SRPM to compile PHP, so I can reinstall it on all my servers
easily...
This SRPM worked fine until PHP 4.3.1, but it started causing problems
(xml) since 4.3.2.
Note, I ASO TRIED MANUAL, NON SRPM!!! SAME PROBLEM!!!
Here is the configure I use
==============================
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
--enable-mbstr-enc-trans --enable-track-vars --enable-calendar
--enable-ctype --enable-versioning --with-readline --enable-mbstring
--enable-wddx=shared --enable-mm=shared --enable-mbregex --enable-shmop
--enable-sigchild --enable-sysvsem --enable-sysvshm --enable-versioning
--with-readline --disable-debug --enable-safe-mode
--with-exec-dir=/usr/bin --with-regex=system --with-gettext=/usr
--enable-trans-sid --enable-ftp --enable-inline-optimization
--with-pgsql --with-zlib-dir=/usr/lib --enable-safe-mode
--with-config-file-path=/etc/httpd --enable-magic-quotes --enable-apc
--with-iconv --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf
--with-db3 --with-interbase=shared --with-mysql --with-pgsql=shared
--with-ldap-dir=/usr --with-imap-dir=/usr --with-curl=shared
--with-pdflib=/usr --with-mcrypt --with-png-dir=/usr/lib
--with-jpeg-dir=/usr/lib --with-ttf --with-ttf=/usr/lib/libttf.so
--enable-xslt --with-xslt-sablot --with-expat-dir=/usr
--with-sablot-js=/usr --with-xml --enable-xml --with-dom --with-xml2
--enable-xml2
==============================
Now, when I REMOVE "--with-xml --enable-xml --with-dom --with-xml2
--enable-xml2" it will work fine.
The issue lies in --with-xml/--enable-xml, I tested that... It's NOT
domxml or xml2.
Again, this started with version 4.3.2
My XML versions
[root /root]# rpm -qa | grep xml
libxml10-1.0.0-2
libxml-1.8.7-1
libxml-devel-1.8.7-1
libxml2-2.5.7-1
libxml2-devel-2.5.7-1
"/etc/rc.d/init.d/httpd restart" (apache 1.3.20) loads fine, not really
a problem, shows no errors, but a "ps aux" shows no httpd process and
apache is not on (no site will show)
Once again, the SAME configuration, using 4.3.1 WORKS...
Please advice.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24841&edit=1
Thread (9 messages)