php-windows Digest 2 Mar 2005 08:54:46 -0000 Issue 2596

Topics (messages 25698 through 25705):

[Request] ISAPI and Keep-Alives
        25698 by: Louis Solomon \[SteelBytes\]

[Request] full DNS resolve support on Win32
        25699 by: Louis Solomon \[SteelBytes\]

test
        25700 by: Louis Solomon \[SteelBytes\]

Re: Error 500 in IIS weblog
        25701 by: Louis Solomon \[SteelBytes\]

PHP and Apache
        25702 by: Logan B
        25703 by: Rob Agar
        25704 by: Chris

static
        25705 by: Joakim Ling

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 ---
Any chance of fixing the ISAPI to allow HTTP Keep-Alives?

and no, it's not just me :-)  I checked the source code.  it returns
HSE_STATUS_SUCCESS for all success cases.  It needs to return
HSE_STATUS_SUCCESS_AND_KEEP_CONN to allow Keep-Alives to work. (and of
course obey the other HTTP 1.1 rules such as, allowing for the client
sending Connection-Close in the request headers, and setting Content-Length
in it's reply headers etc)

-- 
Louis Solomon
www.SteelBytes.com

--- End Message ---
--- Begin Message ---
subject line says it all :-)

ok, in particular the most useful one is being able to retrieve MX records.

to quote from the docs for dns_get_record() (PHP5), "This function is not
implemented on Windows platforms"

-- 
Louis Solomon
www.SteelBytes.com

--- End Message ---
--- Begin Message ---

-- 
Louis Solomon
www.SteelBytes.com

--- End Message ---
--- Begin Message ---
not happening here.

-- 
Louis Solomon
www.SteelBytes.com

"Menashe" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> I'm running php 5.03 on windows 2003 as isapi.
>
> Everything looks OK, and i can see all the php pages, but when I checked 
> the
> IIS log file
> I saw that all the requests to php pages are with the error 500.
>
> Does someone had this problem ?
> How can i fix it, i tried to change all the parameters i know with no
> success?
>
> Thanks. 

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

I'm using Apache 1.3 on my Windows XP Pro box with PHP 5. I'm trying to get
Apache to reconize it. I've added "LoadModule php5_module
"c:/PHP/php5apache.dll"" and "AddModule mod_php5.c" to the httpd.conf file.
I restart Apache, but it throws a santax error that says that the module
[mod_php5.c] is not in the loaded modules list and that it cannot be loaded.
I have double checked the directory that PHP is in. Is it bad that I cannot
find "mod_php5.c" in that directory? I can find php5apache.dll, just not the
.c file.

Can anyone help me?

Thanks!
./ Logan

--- End Message ---
--- Begin Message ---
Have you tried just commenting out the AddModule line?  It works for
php4...

Rob

-----Original Message-----
From: Logan B [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 2 March 2005 1:37 PM
To: [email protected]
Subject: [PHP-WIN] PHP and Apache


Hi,

I'm using Apache 1.3 on my Windows XP Pro box with PHP 5. I'm trying to
get Apache to reconize it. I've added "LoadModule php5_module
"c:/PHP/php5apache.dll"" and "AddModule mod_php5.c" to the httpd.conf
file. I restart Apache, but it throws a santax error that says that the
module [mod_php5.c] is not in the loaded modules list and that it cannot
be loaded. I have double checked the directory that PHP is in. Is it bad
that I cannot find "mod_php5.c" in that directory? I can find
php5apache.dll, just not the .c file.

Can anyone help me?

Thanks!
./ Logan

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

--- End Message ---
--- Begin Message ---
No, mod_php.c does nto have to exist.

Provided that c:/PHP/php5apache.dll acctually exists, your problem is likely that you have got php5ts.dll in your system path (copying it to the WINNT/System32/ directory works.

Chris
Logan B wrote:

Hi,

I'm using Apache 1.3 on my Windows XP Pro box with PHP 5. I'm trying to get
Apache to reconize it. I've added "LoadModule php5_module
"c:/PHP/php5apache.dll"" and "AddModule mod_php5.c" to the httpd.conf file.
I restart Apache, but it throws a santax error that says that the module
[mod_php5.c] is not in the loaded modules list and that it cannot be loaded.
I have double checked the directory that PHP is in. Is it bad that I cannot
find "mod_php5.c" in that directory? I can find php5apache.dll, just not the
.c file.

Can anyone help me?

Thanks!
./ Logan




--- End Message ---
--- Begin Message ---
hi

 

class foo {

 static public $a = 1;

 public function __construct() {

  echo $this->a; /* does not work */

  echo foo::$a; /* work */

 }

}

 

Can someone please explain to me why I have to call $a outside the class
to get the value?


--- End Message ---

Reply via email to