Re: [PHP] Loading dynamic extension

2005-07-24 Thread Richard Lynch
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

Re: [PHP] Loading dynamic extension

2005-07-22 Thread Mathieu Dumoulin
Richard Lynch wrote: On Thu, July 21, 2005 12:17 pm, Mathieu Dumoulin said: 2. Further more, i can't seem to find a way to know from which path or drive my usbkey is operating. There is maybe something i missed somewhere that's why im asking. Anyone ever found something about the CLI current

[PHP] Loading dynamic extension

2005-07-21 Thread Mathieu Dumoulin
Hi, ive got two hard questions for you guys. 1. I'm trying to load an extension dynamically using DL(): if(!extension_loaded('gtk')){ dl('php_gtk.'.PHP_SHLIB_SUFFIX); } The problem with this is that i can't load the extension correctly since the software is running from a USBKEY.

Re: [PHP] Loading dynamic extension

2005-07-21 Thread Richard Lynch
On Thu, July 21, 2005 12:17 pm, Mathieu Dumoulin said: 2. Further more, i can't seem to find a way to know from which path or drive my usbkey is operating. There is maybe something i missed somewhere that's why im asking. Anyone ever found something about the CLI current run path in $_ENV or