[PHP-DEV] mass virtual hosting

2001-05-18 Thread Egan
In the archives I found just a few posts about patches for setting open_basedir and other core globals dynamically, as needed in a mass virtual hosting environment with Apache. Have any of these patches been applied, or is anyone working on this? -- PHP Development Mailing List

[PHP-DEV] Bug #10960: coding error in fopen_wrappers.c

2001-05-18 Thread egan
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: PHP options/info functions Bug description: coding error in fopen_wrappers.c >From previous bug report 10322 submitted by Paul Gregg: In main/fopen_wrappers.c I see that there is a function: PH

Re: [PHP-DEV] Bug #10960: coding error in fopen_wrappers.c

2001-05-18 Thread Egan
On 18 May 2001 18:12:38 -, [EMAIL PROTECTED] wrote: >--- fopen_wrappers.c.orig Mon Feb 26 00:07:31 2001 >+++ fopen_wrappers.c Fri May 18 12:40:54 2001 >@@ -147,7 +147,7 @@ > SLS_FETCH(); > > /* Special case basedir==".": Use script-directory */ >- if ((strcmp(PG

[PHP-DEV] Bug #10960 Updated: coding error in fopen_wrappers.c

2001-05-18 Thread egan
ID: 10960 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: PHP options/info functions Operating system: Linux PHP Version: 4.0.5 Description: coding error in fopen_wrappers.c Sorry, left in an extra paren. The fix should be: + if ((strcmp(basedir, ".") == 0) && Previous C

[PHP-DEV] memory allocation for PG() variables.

2001-05-20 Thread Egan
uld I alter a PG() variable? With some function like emalloc? TIA Egan -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] setting open_basedir and include_path from environment variables

2001-05-17 Thread Egan
Hi, In main.c there are some comments about setting include_path from an environment variable called PHP_INCLUDE_PATH, but it appears this is a future todo. I need to patch my local source to do that, but I don't see in the source where the values are being read from the .ini file; presumably I

[PHP-DEV] RE: [PHP] PHP / NSAPI / Web server support

2001-01-21 Thread Paul Egan
The change from request_translate_uri to rq->vars "path" also fixes the use of PATH_INFO and PHP as a default index. Without this, PHP halts without error on URI's like /app (with /app/index.php) or /script.php/commit. The same problems with PATH_INFO & default index occur when running PHP as a