httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <>
Subject Re: [users@httpd] Help on perl
Date Fri, 06 Sep 2002 17:13:20 GMT
> Reaz:
> > Does this also apply with PHP?
> > Can I just install PHP and have it work sort of the same way?
> I don't think so.  I haven't used PHP in years so someone else will have
> say for sure.

You can run the script using `php -q`, and output the cgi headers within the
script itself.  php, by default, prints:

X-Powered-By: PHP/4.2.2
Content-type: text/html

PHP can also be used as a binary using the SetHandler (IIRC) directive, with
no special cgi tricks.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message