Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Make PHP Execute in CGI output

by miyagawa (Chaplain)
on Dec 01, 2001 at 18:49 UTC ( #128866=note: print w/replies, xml ) Need Help??


in reply to Make PHP Execute in CGI output

Some of that I can imagine:
  • write mod_perl handler (maybe PerlTransHandler) to output your PHP code into temporary directory, translate rerquest's filepath to the one in tmp, and set main content handler to php.
  • use command line PHP to process code.
  • use php-perl by dougm, the author of mod_perl.

--
Tatsuhiko Miyagawa
miyagawa@cpan.org

Replies are listed 'Best First'.
Re: Re: Make PHP Execute in CGI output
by hakkr (Chaplain) on Dec 01, 2001 at 19:07 UTC
    • We are not yet running under mod_perl. Converting all our scripts to be able to do so is way up there on my todo list
    • All our PHP installations are of the Apache Server module variety so we have no command line PHP available.
    • Is there any documentation for php-perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2023-09-23 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?