#21056 [Com]: PHP messes with virtual hosts

From: Date: Tue, 17 Dec 2002 00:25:14 +0000
Subject: #21056 [Com]: PHP messes with virtual hosts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27903@lists.php.net to get a copy of this message
ID: 21056 Comment by: k3nny@univtech.ac.za Reported By: eugene@squidart.co.za Status: Open Bug Type: Apache related Operating System: Mandrake 8.0 PHP Version: 4.2.3 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-12-16 17:58:41] eugene@squidart.co.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

« previous php.bugs (#27903) next »