On Fri, July 22, 2005 7:32 am, Mathieu Dumoulin said: > Sorry that doesn't work, just in case i tried erasing anything related > to Apache, PHP and Perl on my home system. It seems by default, if PHP > can't find a php.ini it sets all defaults to c:\windows instead of > setting them to the current application run path. It might be using the default default (not a typo) if it can't find php.ini, but that shouldn't alter the values of things like $_SERVER['script_filename']... You could also just have your own php.ini on the USB and your own php.exe on the USB, I guess, if you don't care about anything but Windows... > I think my next step will be to check if i can recompile PHP manually > for windows and change the code in it to reflect what i need in terms of > defaults... Like using the application start path and stuff like that to > load extensions and more. Sounds kinda extreme... -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php