[opencms-dev] Including PHP scripts

Sven Dittmar dittmar at rus.uni-stuttgart.de
Mon Jul 14 11:04:01 CEST 2003


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




More information about the opencms-dev mailing list