please follow the readme in the PHP-GTK download. You cannot mix the dlls from separate builds and expect them to work, you should in fact be keeping both versions of PHP completely separate if you're intending to use a gui and web installation side by side. Both php.ini's will need to be local to their respective version of php.exe.
----- Original Message ----- From: "George Hester" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, July 06, 2002 3:37 AM Subject: [PHP-GTK] Cannot enable extensions. Why? > In Windows 2000 SP2 IIS 5 > this statement works without issue: > > $myvar2 = strtoupper(substr(PHP_OS, 0, 3)) > > and myvar2 = WIN > > but this statement right after it: > > dl('php_gtk.dll'); > > leads to this error: > > Fatal error: Dynamically loaded extentions aren't enabled. in > c:\inetpub\scripts\could.php on line 17 > > why? > > I have put php_gtk.dll in every damn directory I can think of. I've put it in > C:\PHP; I've put it in C:\PHP\extensions; I've put it in C:\WINNT; I've put it > in C:\WINNT\System32; The only place I haven't tried to put it is up my... > > If I uncomment ANY of the extensions in php.ini I get this error: > > Say I uncomment win32api.dll: > > Then the above php script which worked just fine gives: > > w32api: unable to initialize module > Module compiled with module API=20010901, debug=0, thread-safety=1 > PHP compiled with module API=20020429, debug=0, thread-safety=1 > These options need to match. > > Everything PHP is 4.2.1 the extensions are what they are calling 4.2.1. > > What is going on with this PHP? Is it just lack of care on the part of: > > http://www.php.net/ > > Thanks. > > > -- > George Hester > _________________________________ > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php