> Care sharing what you did to fix it? On or offlist is fine. > > Jeremy
Probably the same thing that the other fellow wound up doing. In src/main/util_script.c Apache explicitly adds a new DOCUMENT_ROOT value (among others) to the environment table. This effectively wipes out any DOCUMENT_ROOT value that I'd set in my module. Any value that Apache does NOT override later on gets passed through to PHP's environment just fine. I changed util_script.c to check for a DOCUMENT_ROOT value first so it only adds one if it doesn't already exist. It means maintaining a patch for Apache, but I already do that for that file anyway due to some other unrelated cusomizations. If there's a better way I'm all ears, but this works. Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php