Actually, I'm not sure when I'll be able to return to this so I'll just commit it since this is all working, and people can complain later if they want. Shane
------------------------------------------------------------------- I'm working on getting mod_fastcgi/apache2/php4.3 to work together smoothly. One thing mod_fastcgi does is, when it starts the fastcgi processes (php in this instance) very little environment is given to the process. The environment is sent via the fastcgi protocol for each request. To deal with this a hacky overwriting of the environment was done on every request. Other than being a hack, it was also a memory leak. I've fixed that by introducing a way for me to override the php_import_environment_variables function in PHP. This should introduce no side effects for anyone, but I want to pass the patch by dev before commiting. I've finished my patches to cgi_main.c, but those patches require this. Shane Index: php_variables.c =================================================================== RCS file: /repository/php4/main/php_variables.c,v -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php