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:


leads to this error:

Fatal error: Dynamically loaded extentions aren't enabled. in
c:\inetpub\scripts\could.php on line 17


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:


George Hester

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to