Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 34950 invoked from network); 8 Feb 2008 05:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2008 05:53:51 -0000 Received: (qmail 67231 invoked by uid 500); 8 Feb 2008 05:53:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67209 invoked by uid 500); 8 Feb 2008 05:53:32 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 67198 invoked by uid 99); 8 Feb 2008 05:53:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 21:53:32 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2008 05:53:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JNMAg-0004dy-6w for users@tomcat.apache.org; Thu, 07 Feb 2008 21:53:10 -0800 Message-ID: <15349900.post@talk.nabble.com> Date: Thu, 7 Feb 2008 21:53:10 -0800 (PST) From: YogeshArora To: users@tomcat.apache.org Subject: RE: Facing problem in integration of PHP and tomcat In-Reply-To: <3D049ACD4264514B8FC7175152AE122404B61992@exchgob5.corp.dir.ameren.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: yogesh.kumar3@wipro.com References: <15283840.post@talk.nabble.com> <47A8128B.5020305@oma.be> <15292920.post@talk.nabble.com> <3D049ACD4264514B8FC7175152AE122404B61992@exchgob5.corp.dir.ameren.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Thanks for the reply ! Actually, I am not able to find these dependencies on the internet. Could you please help me in finding these dependencies or provide some link= s from where I can download it. Thanks, Yogesh Goldstein, Barry A wrote: >=20 > =20 > I looked on google and it looks like these shared libraries mysql.so, > mcrypt.so, and mbstring.so are php extensions for communicating with > mysql, doing encryption and decryption, etc. You probably need to downloa= d > these extensions and follow some kind of installation to use them. >=20 > Thank you, > Barry=20 >=20 > -----Original Message----- > From: YogeshArora [mailto:yogesh.kumar3@wipro.com]=20 > Sent: Tuesday, February 05, 2008 10:57 AM > To: users@tomcat.apache.org > Subject: Re: Facing problem in integration of PHP and tomcat >=20 >=20 > Hi, >=20 > Thanks for the response ! >=20 > I tried the below URL sent by you. I have successfully setup the JSR 223 > reference implementation on my Linux, but when I tried to deploy the WAR > fille containing the PHP code, I am getting the errors in the following > environment. >=20 > Here are the environment details > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Operation System - Red Hat Enterprise Edition Linux Version 4 > JDK - jdk1.5.0_14 > Tomcat - version 6.0.14 > PHP - Version 5.2.5 >=20 > Errors Encountered > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Warning: main(./config.inc.php) [function.main]: failed to open stream: N= o > such file or directory in /collabo/sns/public_html/index.php on line 7 >=20 > Fatal error: main() [function.require]: Failed opening required > './config.inc.php' (include_path=3D'.:') in > /collabo/sns/public_html/index.php > on line 7 >=20 > Please help in resolving the issue. >=20 > Thanks, > Yogesh >=20 > I have tried the=20 >=20 > David Delbecq-2 wrote: >>=20 >> Did you try this? http://www.alexander-merz.com/21.html >> En l'instant pr=C3=A9cis du 05/02/08 06:57, puneetjain s'exprimait en ce= s=20 >> termes: >>> Hi, >>> >>> I am trying to integrate PHP with tomcat server i.e. trying to running >>> PHP >>> in servlet container. >>> >>> Environment: >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D >>> Operating System: RedHat Enterprize Linux 3 >>> Tomcat Version: 6 >>> PHP version: 5.2.5 >>> Java: 1.5 >>> >>> Steps Performed: >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> 1. Install the tomcat. >>> 2. Install the php >>> 3. Create a web project. >>> 4. Place the php5servlet.jar in the WEB_INF/lib directory. >>> 5. Add the below entry in my web.xml. >>> >>> >>> >> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >>> xsi:schemaLocation=3D"http:/java.sun.com/dtd/web-app_2_3.dtd"> >>> >>> >>> =09php >>> =09=09net.php.servlet >>> >>> =09 >>> =09=09php-formatter >>> =09=09net.php.formatter >>> =09 >>> =09 >>> =09=09php >>> =09=09*.php >>> =09 >>> =09 >>> =09=09php-formatter >>> =09=09*.phps >>> =09 >>> >>> >>> 6. Create a war file and deployed on the tomcat. >>> >>> Exception: >>> =3D=3D=3D=3D=3D=3D=3D >>> When I tried to deploy this war file it says that the libphp5servlet.so >>> and >>> libphp5.so libraries are missing. >>> >>> I have tried these steps on Windows XP and used php5servlet.dll. PHP is >>> working on tomcat in windows.=20 >>> >>> I am unable to find the procedure to create/get the libphp5servlet.so >>> and >>> libphp5.so library to run PHP in Tomcat container in Linux Environment. >>> >>> Please help me to resolve this problem. >>> >>> Thanks, >>> Puneet >>> =20 >>=20 >>=20 >> --=20 >> http://www.devlog.be (a belgian developer's logs) >>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >>=20 >>=20 >>=20 >=20 > --=20 > View this message in context: > http://www.nabble.com/Facing-problem-in-integration-of-PHP-and-tomcat-tp1= 5283840p15292920.html > Sent from the Tomcat - User mailing list archive at Nabble.com. >=20 >=20 > ******************************* > The information contained in this message may be privileged and/or > confidential and protected from disclosure. If the reader of this message > is not the intended recipient, or an employee or agent responsible for > delivering this message to the intended recipient, you are hereby notifie= d > that any dissemination, distribution or copying of this communication is > strictly prohibited. Note that any views or opinions presented in this > message are solely those of the author and do not necessarily represent > those of Ameren. All emails are subject to monitoring and archival. > Finally, the recipient should check this message and any attachments for > the presence of viruses. Ameren accepts no liability for any damage cause= d > by any virus transmitted by this email. If you have received this in > error, please notify the sender immediately by replying to the message an= d > deleting the material from any computer. Ameren Corporation > ******************************* >=20 >=20 >=20 > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Facing-problem-in-integ= ration-of-PHP-and-tomcat-tp15283840p15349900.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org