From:             [EMAIL PROTECTED]
Operating system: Mandrake 8.0
PHP version:      4.2.3
PHP Bug Type:     Apache related
Bug description:  PHP messes with virtual hosts

I've try to upgrade my standard Mandrake installation PHP 4.0.4pl1 to
PHP4.2.3 which compiled succesfully. The httpd.conf file still reflected
the old PHP4.0.4pl1 library. Now, whenever I change my configuration to
point to the new library, all my virtual hosts are messed up and nothing
works...

Here is some snippets of information:

-- Apache error with PHP4.2.3 loaded

[Tue Dec 17 02:03:00 2002] [warn] Loaded DSO libexec/libphp4.so uses plain
Apache 1.3 API, this module might crash under EAPI! (please recompile it
with -DEAPI)
[Tue Dec 17 02:03:00 2002] [error] VirtualHost x.x.x.x:80 -- mixing *
ports and non-* ports with a NameVirtualHost address is not supported,
proceeding with undefined results


-- httpd.conf (GOOD)

<IfDefine HAVE_PHP4>
LoadModule php4_module    extramodules/libphp4.so
</IfDefine>


-- httpd.conf (BAD)

<IfDefine HAVE_PHP4>
LoadModule php4_module    libexec/libphp4.so
</IfDefine>


-- PHP configure

./configure --disable-static --disable-debug --disable-rpath --enable-pic
--enable-inline-optimization --prefix=/usr --with-zlib
--with-config-file-path=/etc --enable-magic-quotes --enable-debugger
--enable-track-vars --enable-safe-mode --with-exec-dir=/usr/bin
--with-regex=system --with-versioning --enable-sysvsem --with-mod_charset
--enable-force-cgi-redirect --enable-trans-sid --with-dbase --with-filepro
--enable-yp --enable-ftp --with-xml --with-gettext --with-mysql --with-bz2
--enable-calender --enable-xslt --with-xslt-sablot
--with-apxs=/etc/httpd/bin/apxs --with-deapi
-- 
Edit bug report at http://bugs.php.net/?id=21056&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21056&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21056&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21056&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21056&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21056&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21056&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21056&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21056&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21056&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21056&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21056&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21056&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21056&r=isapi

Reply via email to