Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:646 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4092 invoked from network); 3 Apr 2003 18:56:54 -0000 Received: from unknown (HELO ammma.de) (213.83.39.131) by pb1.pair.com with SMTP; 3 Apr 2003 18:56:54 -0000 Received: from ammma.net (ammma.net [62.225.101.66]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id h33IuWR19419 for ; Thu, 3 Apr 2003 20:56:33 +0200 Received: from neo.wg.de (jan.ammma.mil [192.168.100.11]) by ammma.net (8.9.3/8.9.3/AMMMa AG) with ESMTP id UAA17636 for ; Thu, 3 Apr 2003 20:56:52 +0200 Received: by neo.wg.de (Postfix, from userid 30) id 981761CB76; Thu, 3 Apr 2003 20:56:52 +0200 (CEST) Received: from laptop.wg.de (laptop.wg.de [192.168.60.3]) by jan.dip.ammma.net (Horde) with HTTP for ; Thu, 3 Apr 2003 20:56:52 +0200 Message-ID: <1049396212.db792ddf3ea1d@jan.dip.ammma.net> X-Priority: 3 (Normal) Date: Thu, 3 Apr 2003 20:56:52 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Subject: Module name change to mod_php5/libphp5 From: jan@horde.org (Jan Schneider) Hi, this is sort of a best-practices-question: I used to test our stuff with different PHP versions by having them in separate CVS checkouts and just calling "make install" in these directories and restarting Apache. This worked fine as long as all versions used the same names for their files, especially mod_php4.c and libphp4.so. This obviously doesn't work anymore now that these files have been renamed on HEAD. So I thought I'd take the good ol' --enable-versioning out of the box, but unfortunately PHP_4_3 and HEAD don't like each other very much. As soon as I access any PHP page I get a segfault. This backtrace is all information I can get: #0 0x00000000 in ?? () #1 0x4052bd74 in unique_id_module () from /usr/lib/apache/libphp4.so #2 0x4052ae7b in unique_id_module () from /usr/lib/apache/libphp4.so #3 0x405668ad in unique_id_module () from /usr/lib/apache/libphp4.so #4 0x405674ea in unique_id_module () from /usr/lib/apache/libphp4.so #5 0x405676a2 in unique_id_module () from /usr/lib/apache/libphp4.so #6 0x08054f7a in ap_invoke_handler () #7 0x080692f4 in process_request_internal () #8 0x0806957e in ap_process_request () #9 0x08061208 in child_main () #10 0x080614b5 in make_child () #11 0x0806154d in startup_children () #12 0x080620db in standalone_main () #13 0x0806246e in main () #14 0x401654a2 in __libc_start_main () from /lib/libc.so.6 Is there any other way to run both versions side by side or do I have to dis- and enable the modules in httpd.conf each time I want to try the other version? Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft