[PHP] Trouble with the ISAPI in PHP4

2004-10-30 Thread George Hester
If I am loading extensions in my php.ini file then this is what happens when I try try 
load the php4isapi.dll.
I go ahead and add it as an ISAPI filter the way it supposed to be done in IIS 5.  
Then I stop the IISAdmin
Service and restart it.  Then I start the Web Puublishing Service. This is where the 
issue arises.  If I am loading
extensions in my php.ini then I will get errors, ./extensions\php_gd2.dll not found  
for example of course loading
the php_gd2.dll extension in my php.ini.  The specific dll is not the issue.  It 
happens with any extension I have
loaded in my php.ini upon starting the Web Publishing Service.  Any ideas how to fix 
this? 
Thanks.


-- 
George Hester
__

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP4 PHP4ISAPI Extensions

2004-10-28 Thread George Hester
George Hester [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
In Windows 2000 Server SP3 I tried to set up the php4isapi.dll redirector.  I can get 
it to work as long as there are no extensions loaded.  But if there are from my 
php.ini then I get ./extensions\php_gd2.dll not found for example.  But if I run ?php 
phpinfo();? all the extensions I am using are found and enabled.  Can anyone explain 
what is going on and suggest a fix?  Thanks.

-- 
George Hester
__

I may have been unclear here exactly when the issue arises.  If I am loading 
extensions in my php.ini file then this
is what happens when I try try load the php4isapi.dll.  I go ahead and add it as an 
ISAPI filter the way it supposed
to be done in IIS 5.  Then I stop the IISAdmin Service and restart it.  Then I start 
the Web Puublishing Service. 
This is where the issue arises.  If I am loading extensions in my php.ini then I will 
get errors,
./extensions\php_gd2.dll not found  for example of course loading the php_gd2.dll 
extension in my php.ini.  The
specific dll is not the issue.  It happens with any extension I have loaded in my 
php.ini upon starting the Web
Publishing Service.  Any ideas how to fix this? 
Thanks.

-- 
George Hester
__

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP4 PHP4ISAPI Extensions

2004-10-27 Thread George Hester
In Windows 2000 Server SP3 I tried to set up the php4isapi.dll redirector.  I can get 
it to work as long as there are no extensions loaded.  But if there are from my 
php.ini then I get ./extensions\php_gd2.dll not found for example.  But if I run ?php 
phpinfo();? all the extensions I am using are found and enabled.  Can anyone explain 
what is going on and suggest a fix?  Thanks.

-- 
George Hester
__

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Browscap.ini new crashes PHP 4 newest

2002-09-16 Thread George Hester

Something snatched my last post on this so this is more of a test right now.
I'll explain how to crash PHP 4 with browscap.ini if this makes it.

--
George Hester
__



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester

I have this in my web site not in an executable folder:

HTML
HEAD
TITLEMy First PHP Program/TITLE
/HEAD
BODY
?php echo Hello World!; ?
/BODY
/HTML

No problem.  I then put this in the same folder:

HTML
HEAD
TITLEMy Second PHP Program/TITLE
/HEAD
BODY
?php echo $HTTP_USER_AGENT; ?
/BODY
/HTML

Nothing appears.  What's wrong?


--
George Hester
_



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester

I wish I could say the same.  Thanks.

--
George Hester
_
Balaji Ankem [EMAIL PROTECTED] wrote in message
005901c22883$f22d5840$[EMAIL PROTECTED]">news:005901c22883$f22d5840$[EMAIL PROTECTED]...
 It is working fine for me!!!


 -Original Message-
 From: George Hester [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 11, 2002 8:03 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] HTTP_USER_AGENT?


 I have this in my web site not in an executable folder:

 HTML
 HEAD
 TITLEMy First PHP Program/TITLE
 /HEAD
 BODY
 ?php echo Hello World!; ?
 /BODY
 /HTML

 No problem.  I then put this in the same folder:

 HTML
 HEAD
 TITLEMy Second PHP Program/TITLE
 /HEAD
 BODY
 ?php echo $HTTP_USER_AGENT; ?
 /BODY
 /HTML

 Nothing appears.  What's wrong?


 --
 George Hester
 _



 --
 PHP General Mailing List (http://www.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




Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread George Hester

Thanks that worked just fine.  But now I am irritated as hell.  Obviously there
is no backwards compatibility with new releases.  Does this mean if I install a
new version of PHP then all books published before that date are worthless?
Seems so.

For example in a book discussing PHP 3 it says:

?
phpinfo();
?

This works just fine.  In a book that discusses PHP 4 it says:

?
php_info()
?

This gives Fatal error: Call to undefined function: php_info() in
c:\inetpub\wwwroot\php\phpinfo.php on line 2.

So it's not just backwards compatibility it is careless planning.  This is not
good.  I will have to search hi and lo to determine if a failure is due to
incorrect syntax because of version and not just careless typing on my part.

I remember when FORTRAN was being developed we were assurred that all previous
commands from older versions would continue operative in the new.  FORTRAN 77
to FORTRAN 90.  I think the developers of PHP ought to consider why the
developers of FORTRAN thought that might be a good thing to do.  It is still
used to this day.  Write a FORTRAN 77 prog and it will compile and run on a
FORTRAN 90 compiler out of the box.  Thanks again.

--
George Hester
_
Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Try:

 ? echo $_SERVER['HTTP_USER_AGENT']; ?

 ... you might have a newer version of PHP (4.1+), which uses the global
 arrays like:

 $_SERVER
 $_POST
 $_GET
 $_SESSION
 $_COOKIE

 ...


 Justin French




 on 11/07/02 12:32 PM, George Hester ([EMAIL PROTECTED]) wrote:

  I have this in my web site not in an executable folder:
 
  HTML
  HEAD
  TITLEMy First PHP Program/TITLE
  /HEAD
  BODY
  ?php echo Hello World!; ?
  /BODY
  /HTML
 
  No problem.  I then put this in the same folder:
 
  HTML
  HEAD
  TITLEMy Second PHP Program/TITLE
  /HEAD
  BODY
  ?php echo $HTTP_USER_AGENT; ?
  /BODY
  /HTML
 
  Nothing appears.  What's wrong?
 
 
  --
  George Hester
  _
 
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-06 Thread George Hester

All fixed.  Install the new PHP using the installer to get mappings set (almost)
correctly in IIS 5. Make sure PHP works now.  Then rename C:\php to C:\php01.
Download the 5MB package with the components.  Then rename the directory that
conatins the files to php and put in C drive.  Leave the ini alone that the
installer put in and that may have been customized.  Make sure everything still
works.  Trash C:\php01.  Done.  Components will now work.  This issue resulted
from the versions of php.exe in the installer and in the 5MB being different
although both are called version 4.2.1.  Thanks everyone.  Steph and Jason.

--
George Hester
_
Steph [EMAIL PROTECTED] wrote in message
05ab01c224be$130cfe40$e09001d5@p2q4w7">news:05ab01c224be$130cfe40$e09001d5@p2q4w7...
 Having just caught up with most of the threads on this thanks to MARC,
 can you please now explain why on earth you are insisting on loading
 PHP-GTK dynamically through a web server?

 The results should be interesting to say the least ..

 - Original Message -
 From: George Hester [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Saturday, July 06, 2002 5:49 AM
 Subject: Re: [PHP-GTK] Cannot enable extensions. Why?


  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
  titleFrom 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?
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-05 Thread George Hester

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
titleFrom 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