[solved] Executing PHP within Perl served pages

#1
Hi,

I'm using Litespeed v4.1.1 standard edition, primarily to serve pages generated by Perl scripts.

I have PHP set up to serve some pages generated by Wordpress which uses PHP.

I want to be able to use one (or more) of the Wordpress routines within my Perl generated scripts and cannot work out how to achieve this.

Just embedding <?php ... ?> within the Perl generated pages does not work because they have a .pl extension and so do not connect to the php intepreter. If I change the perl scripts to have a .php extension then, of course, the Perl interpreter does not pick them up.

How can I do what I want to do?

TIA

Doug
 
Last edited by a moderator:
#3
Thanks for the pointer. At the moment, though, I'm having problems compiling the module - I get an error during the make process but no clue as to why it is in error.

In the absence of PHP::Interpreter is there anything else I can do?

Rgds

Doug
 
Top