Well thank you Jason.  The gtk is now running.  The last thing now is why I
cannot uncomment the extensions in the C:\WINNT\php.ini in my PHP 4.2.1
installation.  That issue still exists.

In this script

http://127.0.0.1/scripts/could.php

-------- could.php -----------

<html>
<head>
<title>From Newsgroup</title>
<body>
<?php
$myvar = "Hello World1";
echo $myvar;
print ("Hello World 2");
?>
<?php
$myvar1 = "This is a test!";
echo $myvar1;
?>
</body>
</html>
------ End could.php ------------------

I get this:

Hello World1Hello World 2This is a test!

But if I uncomment php_w32api_dll in php.ini

I get this error before the page loads in a message box:

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.

and after the page loads:

X-Powered-By: PHP/4.2.1 Content-type: text/html; charset=iso-8859-1 Hello
World1Hello World 2This is a test! PHP Warning: 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 in Unknown on line 0

All the versions off all the files of all the downloads in all the folders of
all that I know of are all what was directed to download from

http://www.php.net/

Namely:

http://www.php.net/do_download.php?download_file=php-4.2.1-Win32.zip

But I first ran:

http://www.php.net/do_download.php?download_file=php-4.2.1-installer.exe

and then just poped in the components from the first link.

Trouble doing that?

Thanks again.

--
George Hester
_________________________________
"Steph" <[EMAIL PROTECTED]> wrote in message
056301c224a8$a2800600$e09001d5@p2q4w7">news:056301c224a8$a2800600$e09001d5@p2q4w7...
> 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

Reply via email to