httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas S. Kerber" <...@speedkom.net>
Subject [patch] src/support/suexec.c (php as cgi)
Date Thu, 09 Jan 2003 09:39:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You might want to commit this little patch to suexec.c.

When using PHP as CGI in a mass hosting environment, it is very useful to
specify different php.ini configuration files per virtual host
(SetEnv PHPRC /path/to/customer)
This patch allows suexec to pass the PHPRC variable to the PHP binary.

- --- src/support/suexec-old.c    2003-01-09 10:27:47.000000000 +0100
+++ src/support/suexec.c        2002-10-10 16:54:01.000000000 +0200
@@ -165,6 +165,7 @@
     "UNIQUE_ID",
     "USER_NAME",
     "TZ",
+    "PHPRC",
     NULL
 };

- -- 
Andreas Kerber (Systemadministration - Internet Solutions)
andreas.kerber@speedkom.net
- --------------------------------------------------
fon +49 (0)831 54058 100
fax +49 (0)831 54058 499
- --------------------------------------------------
SpeedKom GmbH (HRB 6359)
Netzwerk & Internet-Loesungen
Unterwanger Str 3 * D-87439 Kempten (Allgaeu)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: SpeedKOM GmbH - http://www.speedkom.net

iD8DBQE+HUM/ONsWRXzZM3sRAg1vAJwPDrj8ieG16IrsK1AIXECuO4hrQACg0zbN
dSB9jSgvxzhObjS1KPwD3cU=
=nDrx
-----END PGP SIGNATURE-----

Mime
View raw message