[opencms-dev] Including PHP scripts

Björn Aberti bjoern_al at hotmail.com
Mon Jul 14 15:33:02 CEST 2003


I think it's not possible, since Tomcat is just an java servlet container. 
So actually it shouldn't be possible to execute PHP scripts. I tested it by 
creating a php test file, but when I opened it, the browsers screen left 
completly white and no evaluation has been done. But I need to use PHP 
scripts.

All suggestions are welcome!!!

thanks

Björn


>From: Björn Aberti <bjoern_al at hotmail.com>
>Reply-To: opencms-dev at opencms.org
>To: opencms-dev at opencms.org
>Subject: Re: [opencms-dev] Including PHP scripts
>Date: Mon, 14 Jul 2003 10:38:59 +0000
>
>Hi Sven,
>
>thanks for your answer. This was a my mistake, sure i have to name it .php. 
>Is it actually possible to run php scripts under tomcat? How can I 
>configure tomcat that it knows the php files?
>
>Any ideas?
>
>regards björn
>
>
>>From: Sven Dittmar <dittmar at rus.uni-stuttgart.de>
>>Reply-To: opencms-dev at opencms.org
>>To: opencms-dev at opencms.org
>>Subject: Re: [opencms-dev] Including PHP scripts
>>Date: Mon, 14 Jul 2003 10:47:38 +0200
>>
>>Hi Björn,
>>
>>
>>>how can I include PHP scripts in openCMS? Or is it not possible? I tried 
>>>to call 'phpinfo()' method between CDATA tag in a html file:
>>><![CDATA[<?php phpinfo() ?>]]>
>>>but nothing appears.
>>This works for us. We named some skripts with .php.
>>
>>But we publish the site to another Server (Apache with PHP).
>>
>>If you use the Tomcat-Webserver it is clear that it does not know how to 
>>handle PHP, you would have to include the PHP-module there. But I have no 
>>idea if this is possible.
>>
>>Sven
>>
>>_______________________________________________
>>This mail is send to you from the opencms-dev mailing list
>>To change your list options, or to unsubscribe from the list, please visit
>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>_________________________________________________________________
>MSN Groups & Chat - Freunde finden - leicht gemacht 
>http://groups.msn.com/people/
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev

_________________________________________________________________
MSN - More useful every day http://www.msn.de




More information about the opencms-dev mailing list