From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Godefroy Newsgroups: gmane.os.tru64.managers Subject: Troubleshooting php/apache on tru64 Date: Mon, 03 Nov 2008 14:06:12 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225717621 28795 80.91.229.12 (3 Nov 2008 13:07:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 13:07:01 +0000 (UTC) To: Tru64 Unix managers Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 03 14:07:58 2008 connect(): Connection refused Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1Kwz9n-0002rW-5n for gotm-tru64-unix-managers@gmane.org; Mon, 03 Nov 2008 14:07:47 +0100 Original-Received: (qmail 32057 invoked by uid 49509); 3 Nov 2008 13:06:27 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32048 invoked from network); 3 Nov 2008 13:06:27 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 3 Nov 2008 13:06:27 -0000 Original-Received: from emroute4.ornl.gov ([127.0.0.1]) by emroute4.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0K9R00AP4DQQ7L@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Nov 2008 08:06:27 -0500 (EST) Original-Received: from CONVERSION-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.4 #31561) id <0K9R00D01DQQTZ@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Nov 2008 08:06:26 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.4 #31561) id <0K9R00D02DQLTT@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Nov 2008 08:06:26 -0500 (EST) Original-Received: from orbhost.net (239.orl123.voxeo.com [207.218.123.239]) by emroute4.ornl.gov (PMDF V6.4 #31561) with ESMTP id <0K9R00CDQDQKXE@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Nov 2008 08:06:21 -0500 (EST) Original-Received: from [192.168.1.21] (199.37.195-77.rev.gaoland.net [77.195.37.199]) by orbhost.net (8.13.7/8.13.7) with ESMTP id mA3D6IH3487140 for ; Mon, 03 Nov 2008 08:06:19 -0500 (EST) X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/11.4.0.080122 Thread-Topic: Troubleshooting php/apache on tru64 Thread-Index: Ack9tPH7MLnnyqmoEd25MAAX8ts6NA== X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spam2.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,BOTNET_CLIENT, BOTNET_IPINHOSTNAME,BOTNET_SOHO autolearn=ham version=3.2.5 Xref: news.gmane.org gmane.os.tru64.managers:9353 Archived-At: Hello whoever is left on this list, I hope enough of us are still on this mailing list to continue helping eahc other. I have a problem with php on a tru64 system. I have two systems, that are mostly the same, with 5.1b and they both have an apache 2.0 with php 4.4.x setup already running right now. Without taking this existing setup offline, I am trying to get apache 2.2 (2.2.10 now) working and if possible with php5. On one of the systems, after many attempts, I finally got apache2.2 working and a php 5.2.5 working with it. I put that on port 81 for testing while the existing setup is on port 80, so they coexist just fine. However on that other system, even after finally getting apache2.2 working, php won't work at all, in any version, I tried it with several php4.4 versions and php5.2 versions, even latest dev versions and still nothing. The CLI works fine but not as a module. What happens is that if I start apache without the php module enabled, apache starts normally and it works fine. But when I enable the php module, it won't start. If I start apache with the disabled php module and then let it run while I enable the php module before doing a gentle restart, the it's like php wasn't there (either php4 or php5). There is no core dump to be found, no errors reported in any log, the only message in a log is the normal apache suexec message that says it's enabled, and nothing else. I tried not compiling anything extra, turning off whatever could be turned off to get a minimal version, even disabling the cli and cgi. I have php compiled with debug, actually here is my configure line: configure --prefix=$APACHEROOT \ --with-apxs2=$APACHEROOT/bin/apxs \ --with-config-file-path=$APACHEROOT/cf \ --enable-debug \ --with-experimental-zts \ --disable-cgi \ --disable-cli \ --disable-posix \ --enable-static \ --enable-sigchild \ --enable-memory-limit ($APACHEROOT is of course defined above) This actually was able to work fine on that other system, with php5.2.5. So what could I try to trace what the real problem is? Since there is no crash, no core dump, no errors reported in any way, what can I use to troubleshoot and get to the origin of the cause???? Systems are of course all alphas, with tru64 5.1b. Using the cc compiler and some extensions sometimes force me to use g++ because I don't have cxx. Any hints would be appreciated, -- Didier Godefroy mailto:dg@ulysium.net