RE: [PHP4BETA] Is there anyone who really make PHP4.0b2 work as A pachie CGI?
| From: | John Hamlik | Date: | Tue, 07 Sep 1999 17:25:00 +0000 |
| Subject: | RE: [PHP4BETA] Is there anyone who really make PHP4.0b2 work as A pachie CGI? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4204@lists.php.net to get a copy of this message | ||
What do you set doc_root to in a virtual host environment with 1000's of
Vhost? IMHO the old php3 functionality was better where it used
PATH_TRANSLATED.
--- request_info.c.orig Tue Jul 20 22:01:10 1999
+++ request_info.c Tue Jul 20 22:01:28 1999
@@ -36,6 +36,7 @@
if (!request_info.script_filename) {
request_info.script_filename = request_info.php_argv0;
}
+ SG(request_info).path_translated = getenv("PATH_TRANSLATED");
#if WIN32|WINNT
/* FIXME WHEN APACHE NT IS FIXED */
/* a hack for apache nt because it does not appear to set
argv[1] and sets
John Hamlik
> -----Original Message-----
> From: omame [mailto:omame@gol.com]
> Sent: Tuesday, September 07, 1999 6:46 AM
> To: Lao Wang
> Cc: php4beta@lists.php.net
> Subject: Re: [PHP4BETA] Is there anyone who really make
> PHP4.0b2 work as Apachie CGI?
>
>
> Make sure doc_root is set in your php.ini file.
>
> Sounds like this should be in a faq somewhere..
>
> -george
> george@omame.com
> http://www.omame.com
>
> --
> PHP 4 Beta
>