#21056 [Opn->Fbk]: PHP messes with virtual hosts
| From: | iliaa@php.net | Date: | Thu, 27 Feb 2003 16:48:25 +0000 |
| Subject: | #21056 [Opn->Fbk]: PHP messes with virtual hosts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34452@lists.php.net to get a copy of this message | ||
ID: 21056
Updated by: iliaa@php.net
Reported By: eugene at squidart dot co dot za
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: Mandrake 8.0
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
If the problem persists try the php module with vanilla Apache 1.3X
server (1.3.27 is the latest stable iirc).
Previous Comments:
------------------------------------------------------------------------
[2002-12-19 13:57:16] 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 :(
------------------------------------------------------------------------
[2002-12-16 19:07:22] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-12-16 18:25:14] 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 17:58:41] 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/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 this bug report at http://bugs.php.net/?id=21056&edit=1