| Paul Blondé 2007-07-24, 7:01 pm |
| I have seen PHP run as an apache module plenty of times, but not =
remotely.
It makes sense to run it as a module if you have a busy server and many, =
if
not most, of your pages are written in PHP. In addition to my other =
post, I
can also see where it would make great sense to run a database server =
with
Apache+PHP that would respond to, for instance, includes from multiple =
other
servers to provide data from the database without having to run PHP and
MySQL on each web server, but you still have to have an httpd on the PHP
machine I think.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Blond=E9
-----Original Message-----
From: Keith Roberts [mailto:keith@karsites.net]=20
Sent: Tuesday, July 24, 2007 1:30 PM
To: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] php(5)-cgi + Apache2 + fastcgiexternalserver
=3Dlost hair
That's interesting Tony. Didn't know you could do that. Are=20
you saying you want to run PHP as an apache module, and the=20
CLI version remotely?
If so, why would you want to do that?
Regards
Keith
On Tue, 24 Jul 2007, Tony Shadwick wrote:
> To: Keith Roberts <keith@karsites.net>
> From: Tony Shadwick <tshadwick@oss-solutions.com>
> Subject: Re: [PHP-INSTALL] php(5)-cgi + Apache2 + =
fastcgiexternalserver =3D
lost
> hair
>=20
> Yup. Build php as a cgi binary, and then start it with -b flag. You =
can=20
> choose the port you want to run it on. Then use fastcgiexternalserver =
> (or equivalent) to connect to it.
>
> Keith Roberts wrote:
=3D=20[color=darkred]
file=20[color=darkred]
php-host:9000[color=darkred]
has:[color=darkred]
what[color=darkred]
across=20[color=darkred]
variable[color=darkred]
can[color=darkred]
port[color=darkred]
revealed=20[color=darkred]
to[color=darkred]
not[color=darkred]
isn't[color=darkred]
if[color=darkred]
being[color=darkred]
>
--=20
------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk
This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------
|