tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein, Barry A" <>
Subject RE: Facing problem in integration of PHP and tomcat
Date Tue, 05 Feb 2008 18:03:55 GMT
In Linux you need to put the directory containing these shared libraries
in your LD_LIBRARY_PATH environment variable and export the variable.
These are the directories that the loader searches to dynamically load
modules at runtime.

Thank you,

-----Original Message-----
From: puneetjain [] 
Sent: Monday, February 04, 2008 11:57 PM
Subject: Facing problem in integration of PHP and tomcat


I am trying to integrate PHP with tomcat server i.e. trying to running
in servlet container.

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.

     <?xml version="1.0" encoding="ISO-8859-1"?>
     <web-app xmlns="" version="2.3"


6. Create a war file and deployed on the tomcat.

When I tried to deploy this war file it says that the
and 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
and library to run PHP in Tomcat container in Linux Environment.

Please help me to resolve this problem.

View this message in context:
Sent from the Tomcat - User mailing list archive at

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
notified 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 caused by any virus transmitted
by this email. If you have received this in error, please notify the sender immediately by
replying to the message and deleting the material from any computer. Ameren Corporation

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message