Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 87833 invoked from network); 27 Feb 2004 08:33:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 08:33:36 -0000 Received: (qmail 79394 invoked by uid 500); 27 Feb 2004 08:32:57 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79380 invoked by uid 500); 27 Feb 2004 08:32:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 79366 invoked from network); 27 Feb 2004 08:32:57 -0000 Received: from unknown (HELO zmamail04.zma.compaq.com) (161.114.64.104) by daedalus.apache.org with SMTP; 27 Feb 2004 08:32:57 -0000 Received: from sgpexg12.asiapacific.cpqcorp.net (sgpexg12.asiapacific.cpqcorp.net [16.149.1.59]) by zmamail04.zma.compaq.com (Postfix) with ESMTP id 8D37E12EDB for ; Fri, 27 Feb 2004 03:33:08 -0500 (EST) Received: from qcaexc02.asiapacific.cpqcorp.net ([16.180.237.27]) by sgpexg12.asiapacific.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 27 Feb 2004 16:32:56 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 27 Feb 2004 14:02:55 +0530 Message-ID: <1362324FF3D640419F02A7CCAD885C4812E406@qcaexc02.asiapacific.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] executing php in Apache Thread-Index: AcP8+dUifrnf05RESgyBTz5VKBCwigAEmUiw From: "Nair, Rajeev K" To: X-OriginalArrivalTime: 27 Feb 2004 08:32:56.0564 (UTC) FILETIME=[4CC0BB40:01C3FD0C] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] executing php in Apache X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thnx .it was indeed a very useful link rajeev -----Original Message----- From: Somraj Bhattacharyya [mailto:Somraj.Bhattacharyya@ushacomm.co.in]=20 Sent: Friday, February 27, 2004 11:44 AM To: 'users@httpd.apache.org' Subject: RE: [users@httpd] executing php in Apache http://www10.brinkster.com/ssruprai/comphp.asp#php guys access the above site. I found this very useful for installing PHP = on Apache 2. Cheers !! -----Original Message----- From: Chuck Ouellette [mailto:chuck@wncg.net] Sent: Wednesday, February 25, 2004 11:04 PM To: users@httpd.apache.org Subject: RE: [users@httpd] executing php in Apache Thanks Boyle that makes sense.=20 -----Original Message----- From: Boyle Owen [mailto:Owen.Boyle@swx.com]=20 Sent: Wednesday, February 25, 2004 12:14 PM To: users@httpd.apache.org Subject: RE: [users@httpd] executing php in Apache > -----Original Message----- > From: Chuck Ouellette [mailto:chuck@wncg.net] >=20 > While on the subject, what does mod_perl do? I have been running Perl=20 > 5.8 with many CGI scripts written in perl and have been working just=20 > fine without me compiling in mod_perl or using it as a DSO. Can anyone = > tell me the benefits/gotcha's to mod_perl and the real purpose of it? When apache executes a "standard" CGI in perl, it first encounters the = shebang line (#!/usr/bin/perl). This causes it to load an instance of = the perl interpreter into the shell that's forked to run the CGI. Then = it runs the CGI. Then the shell exits. The next time that CGI is hit, = apache rumbles through the same rigmarole again. That's obviously a bit inefficient. mod_perl allows you to load an = instance of perl into httpd at runtime and for it to persist for the = life of that daemon. So any perl code is executed by the in-memory = interpreter. Thats a lot faster and also allows you to take advantage of = persistence of data. At the risk of getting a bollocking, you might like = to look at http://perl.apache.org for more details... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 > Thanks, > Chuck >=20 >=20 > -----Original Message----- > From: Charlie Smith [mailto:SmithCW@ldschurch.org] > Sent: Wednesday, February 25, 2004 11:30 AM > To: users@httpd.apache.org > Subject: Re: [users@httpd] executing php in Apache >=20 > Used to be that the www.php.net page had a disclaimer that it does not = > run with Apache 2.0 >=20 > Yup, it's still there at=20 > http://www.php.net/manual/en/install.apache2.php >=20 >=20 > It says: > Warning > Do not use Apache 2.0 and PHP in a production environment neither on > Unix nor > on Windows.=20 > =20 > Even though this indicates you shouldn't run this way, I believe there = > are > those that are. =20 > Here's a reference on building mod_php and mod_perl for apache 1.3 -=20 > would probably work for apache 2?: > http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_an d_mod_php=20 You might also try using the DSO approach and apply the section "Build = mod_perl as a DSO outside the Apache Source Tree via APXS" to mod_php. =20 BTW: The php install is part of the standard installation procedure. You = install php from the standard install as part of the apache build. >>> Somraj.Bhattacharyya wrote 2/25/2004 5:27:14 AM >>> Hi=20 Can anyone guide me on how to setup Apache 2 to support php files = execution ? Thanks in advance Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat = keinen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. = This e-mail is of a private and personal nature. It is not related to = the exchange or business activities of the SWX Group. Le pr=E9sent = e-mail est un message priv=E9 et personnel, sans rapport avec = l'activit=E9 boursi=E8re du Groupe SWX. This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. No = confidentiality or privilege is waived or lost by any mistransmission. = If you receive this message in error, please notify the sender urgently = and then immediately delete the message and any copies of it from your = system. Please also immediately destroy any hardcopies of the message. = You must not, directly or indirectly, use, disclose, distribute, print, = or copy any part of this message if you are not the intended recipient. = The sender's company reserves the right to monitor all e-mail = communications through their networks. Any views expressed in this = message are those of the individual sender, except where the message = states otherwise and the sender is authorised to state them to be the = views of the sender's company.=20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. = To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. = To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. = To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org