Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 569 invoked from network); 5 Feb 2008 08:15:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 08:15:55 -0000 Received: (qmail 10263 invoked by uid 500); 5 Feb 2008 08:15:39 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 10246 invoked by uid 500); 5 Feb 2008 08:15:39 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 10235 invoked by uid 99); 5 Feb 2008 08:15:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 00:15:39 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.160.178.142] (HELO p15122102.pureserver.info) (217.160.178.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 08:15:23 +0000 Received: from [192.168.1.8] (dslb-084-061-201-128.pools.arcor-ip.net [84.61.201.128]) by p15122102.pureserver.info (Postfix) with ESMTP id CA9C53AC22E for ; Tue, 5 Feb 2008 09:25:17 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <15283842.post@talk.nabble.com> References: <15283842.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <974E444B-BA2D-4487-AD73-14EEBCD89124@objektpark.de> Content-Transfer-Encoding: 7bit From: Peter Rossbach Subject: Re: Facing while running PHP in Tomcat Container Date: Tue, 5 Feb 2008 09:15:08 +0100 To: "Tomcat Developers List" X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org HI, has you setup your libs at shell env LD_LIBRARY_PATH variable? Put following definition at your $CATALINA_HOME/bin/setenv.sh #!/bin/sh PHP_HOME=xxx export LD_LIBRARY_PATH =$PHP_HOME/lib/libphp5servlet.so:$PHP_HOME/lib/ libphp5.so Peter Please, discuss those question at user list first! Am 05.02.2008 um 07:01 schrieb puneetjain: > > Hi, > > I am trying to integrate PHP with tomcat server i.e. trying to > running PHP > in servlet container. > > Environment: > ========= > Operating System: RedHat Enterprize Linux 3 > Tomcat Version: 6 > PHP version: 5.2.5 > Java: 1.5 > > Steps Performed: > ============ > 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="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http:/java.sun.com/dtd/web-app_2_3.dtd"> > > > php > net.php.servlet > > > php-formatter > net.php.formatter > > > php > *.php > > > php-formatter > *.phps > > > > 6. Create a war file and deployed on the tomcat. > > Exception: > ======= > 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. > > 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 > > -- > View this message in context: http://www.nabble.com/Facing-while- > running-PHP-in-Tomcat-Container-tp15283842p15283842.html > Sent from the Tomcat - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org