From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 03:01:41 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A111F37B404 for ; Thu, 24 Jul 2003 03:01:40 -0700 (PDT) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F20D43FBD for ; Thu, 24 Jul 2003 03:01:35 -0700 (PDT) (envelope-from greg.panula@dolaninformation.com) Received: (qmail 24881 invoked by uid 0); 24 Jul 2003 10:01:34 -0000 Received: from greg.panula@dolaninformation.com by proxy by uid 82 with qmail-scanner-1.16 ( Clear:. Processed in 1.788466 secs); 24 Jul 2003 10:01:34 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: uitm@blackflag.ru,freebsd-stable@freebsd.org X-Qmail-Scanner: 1.16 (Clear:. Processed in 1.788466 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 24 Jul 2003 10:01:32 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167); 24 Jul 2003 05:01:32 -0500 Sender: pang@FreeBSD.ORG Message-ID: <3F1FAE7B.511F986@dolaninformation.com> Date: Thu, 24 Jul 2003 05:01:31 -0500 From: Greg Panula Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrey Alekseyev References: <200307231707.VAA00542@slt.oz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: problem w/ php3+php4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: greg.panula@dolaninformation.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 10:01:41 -0000 Andrey Alekseyev wrote: > > Hello, > > Has anybody experienced any problems with php3+php4 combo > in systems newer than 4.6-STABLE (as of June-Aug 2002)? > > Briefly, the problem looks very similar to what is > stated in the following reports: > > http://groups.google.com/groups?q=%22php3+kills+apache%22&hl=ru&lr=&ie=UTF-8&oe=UTF-8&selm=wqz8yrfzbug.wl%40hurt.theclones.net&rnum=1 > http://groups.google.com/groups?q=%2Bfreebsd+%2B4.8+%2Bphp3&hl=ru&lr=&ie=UTF-8&oe=UTF-8&selm=b41uk8%241qnklv%241%40fu-berlin.de&rnum=3 > > I'm stumped :) Any information would be much appreciated. > I've got a box running 4.7-STABLE (Oct 15th 2002) with both PHP4 & PHP3 installed and working without problems. Don't remember much about the setup... think the only hassle was getting the right the parser to handle the php3 & php4 pages. Here is the relavent part from my httpd.conf (load module statements) # php3 is needed for the helpdesk apps LoadModule php3_module libexec/apache/libphp3.so # ldap is for provide authenication against Active Directory LoadModule auth_ldap_module libexec/apache/auth_ldap.so LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so (apache runs with ssl enabled, but in case it gets restarted without ssl enabled at least the helpdesk will still work.) AddModule mod_php3.c AddModule auth_ldap.c AddModule mod_ssl.c AddModule mod_php4.c AddModule mod_dav.c AddModule mod_auth_external.c (DirectoryIndex stuff) # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php .php .php4 AddType application/x-httpd-php-source .phps DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html DirectoryIndex index.html ~~~~ ## PHP info ## pkg_info | grep -i php adodb-2.50 A database library for PHP4 mod_php3-3.0.18_3 PHP3 module for Apache mod_php4-4.2.3 PHP4 module for Apache good luck, greg