|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21056 PHP messes with virtual hosts
Submitted: 2002-12-16 17:58 UTC Modified: 2003-03-09 18:45 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: eugene at squidart dot co dot za Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.2.3 OS: Mandrake 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
42 + 14 = ?
Subscribe to this entry?

 [2002-12-16 17:58 UTC] eugene at squidart dot co dot za
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/ 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/

-- httpd.conf (BAD)

<IfDefine HAVE_PHP4>
LoadModule php4_module    libexec/

-- 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 18:25 UTC] k3nny at univtech dot ac dot za
Eugene forgot to mention the following information on our little error:

Apache 1.3.19 with DSO support enabled...

on every call to make install PHP changes the httpd.conf file, the changes crash the server. we change them back and they crash. PHP 4.2.3 won't run, only PHP4.0.4pl4 will run
 [2002-12-16 19:07 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-12-19 13:57 UTC] eugene at squidart dot co dot za
We tried the CVS snaphsot, but with no avail... If anybody knows how to beat this, please help.

Thanx :(
 [2003-02-27 10:48 UTC]
Please try using this CVS snapshot:
For Windows:

If the problem persists try the php module with vanilla Apache 1.3X server (1.3.27 is the latest stable iirc).
 [2003-03-09 18:45 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 08:01:28 2024 UTC