Jakarta Tomcat + Windows + PHP
Hi All, I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows 2003 Server. I've been trying to figure out how to add PHP to the mix, but everything I've read says that I need to add a LoadModule directive to my httpd.conf and I don't have one. I didn't do the install for Tomcat, but I'm assuming that the Jakarta install doesn't create all those seperate Apache folders and files. Have I missed something really simple? Thanks Janet Fraser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Jakarta Tomcat + Windows + PHP
The simple thing that you have missed is that you are following instructions to add PHP to Apache HTTPD, not Apache Tomcat. I think you can install PHP in Tomcat but I don't personally know how. Apache is an organisation, which makes many applications, it is not the name of a particular product although when you hear apache you usually think of the webserver (httpd). An install of Tomcat will not install httpd as it is a different application. -Original Message- From: Janet Fraser [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 09:49 To: tomcat-user@jakarta.apache.org Subject: Jakarta Tomcat + Windows + PHP Hi All, I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows 2003 Server. I've been trying to figure out how to add PHP to the mix, but everything I've read says that I need to add a LoadModule directive to my httpd.conf and I don't have one. I didn't do the install for Tomcat, but I'm assuming that the Jakarta install doesn't create all those seperate Apache folders and files. Have I missed something really simple? Thanks Janet Fraser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jakarta Tomcat + Windows + PHP
Matt, Thanks - I guess i knew that. Maybe my question should have been simpler, ie How do I install PHP to Tomcat? Dale, Matt wrote: The simple thing that you have missed is that you are following instructions to add PHP to Apache HTTPD, not Apache Tomcat. I think you can install PHP in Tomcat but I don't personally know how. Apache is an organisation, which makes many applications, it is not the name of a particular product although when you hear apache you usually think of the webserver (httpd). An install of Tomcat will not install httpd as it is a different application. -Original Message- From: Janet Fraser [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 09:49 To: tomcat-user@jakarta.apache.org Subject: Jakarta Tomcat + Windows + PHP Hi All, I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows 2003 Server. I've been trying to figure out how to add PHP to the mix, but everything I've read says that I need to add a LoadModule directive to my httpd.conf and I don't have one. I didn't do the install for Tomcat, but I'm assuming that the Jakarta install doesn't create all those seperate Apache folders and files. Have I missed something really simple? Thanks Janet Fraser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Jakarta Tomcat + Windows + PHP
A quick google brought back http://wiki.apache.org/jakarta-tomcat/UsingPhp. Should get you started. Ta Matt -Original Message- From: Janet Fraser [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 10:02 To: Tomcat Users List Subject: Re: Jakarta Tomcat + Windows + PHP Matt, Thanks - I guess i knew that. Maybe my question should have been simpler, ie How do I install PHP to Tomcat? Dale, Matt wrote: The simple thing that you have missed is that you are following instructions to add PHP to Apache HTTPD, not Apache Tomcat. I think you can install PHP in Tomcat but I don't personally know how. Apache is an organisation, which makes many applications, it is not the name of a particular product although when you hear apache you usually think of the webserver (httpd). An install of Tomcat will not install httpd as it is a different application. -Original Message- From: Janet Fraser [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 09:49 To: tomcat-user@jakarta.apache.org Subject: Jakarta Tomcat + Windows + PHP Hi All, I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows 2003 Server. I've been trying to figure out how to add PHP to the mix, but everything I've read says that I need to add a LoadModule directive to my httpd.conf and I don't have one. I didn't do the install for Tomcat, but I'm assuming that the Jakarta install doesn't create all those seperate Apache folders and files. Have I missed something really simple? Thanks Janet Fraser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jakarta Tomcat + Windows + PHP
Hi Janet, Am Mittwoch, 11. Mai 2005 10:48 schrieb Janet Fraser: I'm running Jakarta Apache Tomcat 5.0.19 (successfully) on a Windows 2003 Server. I've been trying to figure out how to add PHP to the mix, but everything I've read says that I need to add a LoadModule directive to my httpd.conf and I don't have one. I didn't do the install for Tomcat, but I'm assuming that the Jakarta install doesn't create all those seperate Apache folders and files. Have I missed something really simple? httpd.conf is the configuration file of the Apache HTTP Server ( http://httpd.apache.org/ ) which should not be mixed with the Apache Tomcat Server. These are two different servers in two different worlds. Linux, Apache, MySQL and PHP (LAMP) is the standard combination to run PHP. However, if you don't want to run an Apache server in parallel with your Tomcat server, there is a way to use PHP with Tomcat. Your keyword ist: Java Servlet SAPI - http://de3.php.net/manual/en/ref.java.php#java.servlet Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jakarta Tomcat + Windows + PHP
On 11 May 2005 at 19:01, Janet Fraser jlfraser-at-infotech.monash. wrote: Maybe my question should have been simpler, ie How do I install PHP to Tomcat? Here is my installation of PHP on tomcat 5.0.28 (on WinXP) .. * install PHP (preferably PHP5) into c:\PHP\ * place php.ini in c:\windows\php.ini * download phpservlet.war from here .. http://tools.herberlin.de/phpservlet/phpservlet.war * drop phpservlet.war into tomcat5\webapps\ * in tomcat5\webapps\phpservlet\WEB-INF\web.xml set paths param-namephp.executable/param-name param-valuec:/php/php-cgi.exe/param-value and param-nameSystemRoot/param-name param-valuec:/windows//param-value note: use php-cgi.exe and not php.exe. * Launch http://localhost:8080/phpservlet/phpinfo.php to check that PHP is working on tomcat.