php-windows Digest 3 Jun 2002 13:14:12 -0000 Issue 1173

Topics (messages 14043 through 14050):

Re: a problem.
        14043 by: Michael Davey
        14046 by: Peter

crash
        14044 by: Aleborg

Loading extensions...
        14045 by: Chris Knipe
        14047 by: Peter
        14048 by: Chris Knipe
        14049 by: Chris Knipe

How do I get PHP 4.1.2 to work with Apache 2.0.36 on win32?
        14050 by: Dr. D. Wagner

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
1.    Try to use a more descriptive subject - everyone has problems! We need
to know the specific problem you need help with.

> It's my second time when I install PHP on Win XP Pro useing IIS
WebServices.
> The first time
> all was Ok. I use the CGI version of PHP (php.exe). So, the problem is
that
> when i type
> http://localhost/php/myscript.php?var=something
>
> PHP  return error that $var is undefined variable.
> when I set $var = something in the source code all is working Ok, but it
> doesn't via Web Browser.

2.    Which version of PHP are you using?  As of version 4.2.0 of PHP the
"register_globals" directive in php.ini defaults to Off.  This means that
you would need to either turn this on, or access your variables from the
$_POST or $HTTP_POST_VARS arrays.  (The second approach is the recommended
one.)

regards,

Mikey



--- End Message ---
--- Begin Message ---
Does register_globals = On in the php.ini file?

Instead of using $var in your script try using  $_GET['var'] (you don't use
post if the variable is in the URL)


"D.Terziev" <[EMAIL PROTECTED]> wrote in message
002001c20a2f$9a1ae630$0100a8c0@azure">news:002001c20a2f$9a1ae630$0100a8c0@azure...
> Hi
>
> I have a problem and I hope that you can help me.
>
> It's my second time when I install PHP on Win XP Pro useing IIS
WebServices.
> The first time
> all was Ok. I use the CGI version of PHP (php.exe). So, the problem is
that
> when i type
> http://localhost/php/myscript.php?var=something
>
> PHP  return error that $var is undefined variable.
> when I set $var = something in the source code all is working Ok, but it
> doesn't via Web Browser.
>
> Can you help me? What's wrong?
>
> Are you need any other info about my system?
>
> Thanks in advance.
>
>
>


--- End Message ---
--- Begin Message ---
I'm using PHP on a win2K server with IIS5
I've been using version 4.1.2 for a while and have been forced to use
php.exe instead of php4isapi.dll because every time I wrote phpinfo() the
server crashed when using php4isapi.dll and had to be restarted.
Now I've upgraded to 4.2.1, and I wonder if this is a known bug that's been
fixed or is just my system? Do I dare to make a phpinfo() with php4isapi.dll
on 4.2.1 or should I avoid the isapi module???


--- End Message ---
--- Begin Message ---
Hi,

I got some problems loading php extensions (php_gettext.dll)...  When IIS
starts, PHP complains that it cannot load the dll...


>From my \winnt\php.ini:
; Directory in which the loadable extensions (modules) reside.
extension_dir = d:\php\extensions\
extension=php_gettext.dll

The system itself:
[d:\php\extensions]cacls php_gettext.dll
D:\php\extensions\php_gettext.dll Everyone:F

Everyone's got access to read the dll....  Why on earth won't PHP load it??
It's PHP 4.2.0 (Win32) for those wanting to know, running on NT4 via IIS


--
me


--- End Message ---
--- Begin Message ---
Try extension_dir = d:\php\extensions

or extension_dir = d:/php/extensions/
etc


"Chris Knipe" <[EMAIL PROTECTED]> wrote in message
001b01c20a61$56f0c3c0$[EMAIL PROTECTED]">news:001b01c20a61$56f0c3c0$[EMAIL PROTECTED]...
> Hi,
>
> I got some problems loading php extensions (php_gettext.dll)...  When IIS
> starts, PHP complains that it cannot load the dll...
>
>
> From my \winnt\php.ini:
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = d:\php\extensions\
> extension=php_gettext.dll
>
> The system itself:
> [d:\php\extensions]cacls php_gettext.dll
> D:\php\extensions\php_gettext.dll Everyone:F
>
> Everyone's got access to read the dll....  Why on earth won't PHP load
it??
> It's PHP 4.2.0 (Win32) for those wanting to know, running on NT4 via IIS
>
>
> --
> me
>
>


--- End Message ---
--- Begin Message ---
It loads gd lib perfectly right also via a extension... so the extension
path or anything like that isn't the problem, my gut tells me the gettext
dll is screwed from the distribution...

Anyone have a dll of gettext they can send me?


----- Original Message -----
From: "Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 10:14 PM
Subject: [PHP-WIN] Re: Loading extensions...


> Try extension_dir = d:\php\extensions
>
> or extension_dir = d:/php/extensions/
> etc
>
>
> "Chris Knipe" <[EMAIL PROTECTED]> wrote in message
> 001b01c20a61$56f0c3c0$[EMAIL PROTECTED]">news:001b01c20a61$56f0c3c0$[EMAIL PROTECTED]...
> > Hi,
> >
> > I got some problems loading php extensions (php_gettext.dll)...  When
IIS
> > starts, PHP complains that it cannot load the dll...
> >
> >
> > From my \winnt\php.ini:
> > ; Directory in which the loadable extensions (modules) reside.
> > extension_dir = d:\php\extensions\
> > extension=php_gettext.dll
> >
> > The system itself:
> > [d:\php\extensions]cacls php_gettext.dll
> > D:\php\extensions\php_gettext.dll Everyone:F
> >
> > Everyone's got access to read the dll....  Why on earth won't PHP load
> it??
> > It's PHP 4.2.0 (Win32) for those wanting to know, running on NT4 via IIS
> >
> >
> > --
> > me
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
K.. Just so you all know, I upgraded to PHP 4.2.1 with all the extensions
that came with 4.2.1, and it's working now...

So yeah.. Just comes to proof the gettext dll that ships with 4.2.0 aren't
working properly...

--
me

----- Original Message -----
From: "Chris Knipe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 10:23 PM
Subject: Re: [PHP-WIN] Re: Loading extensions...


> It loads gd lib perfectly right also via a extension... so the extension
> path or anything like that isn't the problem, my gut tells me the gettext
> dll is screwed from the distribution...
>
> Anyone have a dll of gettext they can send me?
>
>
> ----- Original Message -----
> From: "Peter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, June 02, 2002 10:14 PM
> Subject: [PHP-WIN] Re: Loading extensions...
>
>
> > Try extension_dir = d:\php\extensions
> >
> > or extension_dir = d:/php/extensions/
> > etc
> >
> >
> > "Chris Knipe" <[EMAIL PROTECTED]> wrote in message
> > 001b01c20a61$56f0c3c0$[EMAIL PROTECTED]">news:001b01c20a61$56f0c3c0$[EMAIL PROTECTED]...
> > > Hi,
> > >
> > > I got some problems loading php extensions (php_gettext.dll)...  When
> IIS
> > > starts, PHP complains that it cannot load the dll...
> > >
> > >
> > > From my \winnt\php.ini:
> > > ; Directory in which the loadable extensions (modules) reside.
> > > extension_dir = d:\php\extensions\
> > > extension=php_gettext.dll
> > >
> > > The system itself:
> > > [d:\php\extensions]cacls php_gettext.dll
> > > D:\php\extensions\php_gettext.dll Everyone:F
> > >
> > > Everyone's got access to read the dll....  Why on earth won't PHP load
> > it??
> > > It's PHP 4.2.0 (Win32) for those wanting to know, running on NT4 via
IIS
> > >
> > >
> > > --
> > > me
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Howzit,

I'm having a little trouble setting up PHP 4.1.2 to run on my Win32 
Apache 2.0.36 installation.  Apache is working flawlessly ortherwise, 
but If I try and add/uncomment the "LoadModule" line for 
php4apache.dll then Apache doesn't even load, just exits.

I've tried on both Win98SE and Win2k Pro.

I've followed the instructions almost to the letter (only changing 
directory paths where necessary).  Although none of the PHP files 
mention Apache2.

I've scoured the web for clues, and searched the archives and bug 
lists.

I've been to the phpgeek website and had a look at the page the was 
referenced a fee times in the archive, but I can't find any 
differences between that config and mine (other than the paths, and 
OS's), but it still doesn't work.

I even tried CGI mode -- apache loads, but PHP hangs when I call a 
test page.

Can someone please tell me where to get the instructions for running 
PHP 4.x on Apache 2.x.

Thanks in advance -- I've been banging my head against this wall all 
weekend, and I desperatly want to drop IIS and ASP before any more 
security holes turn up...

Dameon.

-- 
><> ><> ><> ><> ><> ><> ><> ooOOoo <>< <>< <>< <>< <>< <>< <><
Dr. Dameon Wagner
Network Administrator
Zoology Department,
University of Port Elizabeth,
South Africa.
Phone +27 41 504 2335
Fax +27 41 504 2317
E-mail: [EMAIL PROTECTED]
><> ><> ><> ><> ><> ><> ><> ><> ooOOoo <>< <>< <>< <>< <>< <><


--- End Message ---

Reply via email to