RE: [PHP] all local sites stopped working ... [SOLVED]

2009-12-14 Thread Angelo Zanetti


-Original Message-
From: cr.vege...@gmail.com [mailto:cr.vege...@gmail.com] 
Sent: 17 October 2009 02:20 PM
To: Tommy Pham; general php
Subject: Re: [PHP] all local sites stopped working ... [SOLVED]

- Original Message - 
From: "Tommy Pham" 
To: "general php" 
Sent: Saturday, October 17, 2009 2:03 PM
Subject: Re: [PHP] all local sites stopped working ...


> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> 
> Sent: Sat, October 17, 2009 4:49:53 AM
> Subject: Re: [PHP] all local sites stopped working ...
>
>
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 1:29 PM
> Subject: Re: [PHP] all local sites stopped working ...
>
>
>> - Original Message 
>>> From: "cr.vege...@gmail.com" 
>>> To: Tommy Pham ; general php 
>>> 
>>> Sent: Sat, October 17, 2009 4:19:17 AM
>>> Subject: Re: [PHP] all local sites stopped working ...
>>>
>>> - Original Message - From: "Tommy Pham"
>>> To: "general php"
>>> Sent: Saturday, October 17, 2009 1:02 PM
>>> Subject: Re: [PHP] all local sites stopped working ...
>>>
>>>
>>> > - Original Message 
>>> >> From: "cr.vege...@gmail.com"
>>> >> To: Tommy Pham ; general php
>>> >> Sent: Sat, October 17, 2009 3:57:48 AM
>>> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >>
>>> >> - Original Message - From: "Tommy Pham"
>>> >> To: "general php"
>>> >> Sent: Saturday, October 17, 2009 12:21 PM
>>> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >>
>>> >>
>>> >> > - Original Message 
>>> >> >> From: "cr.vege...@gmail.com"
>>> >> >> To: John Black
>>> >> >> Cc: php-general@lists.php.net
>>> >> >> Sent: Sat, October 17, 2009 3:17:22 AM
>>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >> >>
>>> >> >> - Original Message - From: "John Black"
>>> >> >> To:
>>> >> >> Cc:
>>> >> >> Sent: Saturday, October 17, 2009 11:53 AM
>>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >> >>
>>> >> >>
>>> >> >> > cr.vege...@gmail.com wrote:
>>> >> >> >> In php.ini I defined: error_log = >> >> >> 
>>> >> >> >> C:\Inetpub\wwwroot\PHPError.log
>>> >> >> >> then restarted the server with iisreset.exe
>>> >> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>>> >> >> >> and after 10 minutes still "Connecting / Waiting for >> >>
>>> .../phpinfo.php"
>>> >> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>>> >> >> >> Other suggestions ?
>>> >> >> >> TIA, Cor
>>> >> >> >
>>> >> >> > So it is not just .php files which will not work? If you have >>

>>> >> >> >  >> >> >  >
>>> trouble >
>>> >> with
>>> >> >> .html files as well then it almost sounds like a firewall issue >>

>>> >> >>  >> since >>
>>> your
>>> >> >> connection "hangs" until timeout.
>>> >> >> >
>>> >> >> > Try this to see if the webserver is accepting a connection:
>>> >> >> > telnet 127.0.0.1 80
>>> >> >> > Then type the two lines below, ending each one with the enter 
>>> >> >> > key >> >> >  >> >
>>> (new >
>>> >> line)
>>> >> >> > HEAD / HTTP/1.1
>>> >> >> > Host: 127.0.0.1
>>> >> >> > (hit enter once more)
>>> >> >> >
>>> >> >> > And you should get an answer from your server, mine looks like 
>>> >> >> >  >> >> > this:
>>> >> >> > HTTP/1.1 200 OK
>>> >> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>>> >&

RE: [PHP] all local sites stopped working ... [SOLVED]

2009-10-17 Thread Marc Christopher Hall


-Original Message-
From: cr.vege...@gmail.com [mailto:cr.vege...@gmail.com] 
Sent: Saturday, October 17, 2009 8:20 AM
To: Tommy Pham; general php
Subject: Re: [PHP] all local sites stopped working ... [SOLVED]

- Original Message - 
From: "Tommy Pham" 
To: "general php" 
Sent: Saturday, October 17, 2009 2:03 PM
Subject: Re: [PHP] all local sites stopped working ...


> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> 
> Sent: Sat, October 17, 2009 4:49:53 AM
> Subject: Re: [PHP] all local sites stopped working ...
>
>
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 1:29 PM
> Subject: Re: [PHP] all local sites stopped working ...
>
>
>> - Original Message 
>>> From: "cr.vege...@gmail.com" 
>>> To: Tommy Pham ; general php 
>>> 
>>> Sent: Sat, October 17, 2009 4:19:17 AM
>>> Subject: Re: [PHP] all local sites stopped working ...
>>>
>>> - Original Message - From: "Tommy Pham"
>>> To: "general php"
>>> Sent: Saturday, October 17, 2009 1:02 PM
>>> Subject: Re: [PHP] all local sites stopped working ...
>>>
>>>
>>> > - Original Message 
>>> >> From: "cr.vege...@gmail.com"
>>> >> To: Tommy Pham ; general php
>>> >> Sent: Sat, October 17, 2009 3:57:48 AM
>>> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >>
>>> >> - Original Message - From: "Tommy Pham"
>>> >> To: "general php"
>>> >> Sent: Saturday, October 17, 2009 12:21 PM
>>> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >>
>>> >>
>>> >> > - Original Message 
>>> >> >> From: "cr.vege...@gmail.com"
>>> >> >> To: John Black
>>> >> >> Cc: php-general@lists.php.net
>>> >> >> Sent: Sat, October 17, 2009 3:17:22 AM
>>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >> >>
>>> >> >> - Original Message - From: "John Black"
>>> >> >> To:
>>> >> >> Cc:
>>> >> >> Sent: Saturday, October 17, 2009 11:53 AM
>>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>>> >> >>
>>> >> >>
>>> >> >> > cr.vege...@gmail.com wrote:
>>> >> >> >> In php.ini I defined: error_log = >> >> >> 
>>> >> >> >> C:\Inetpub\wwwroot\PHPError.log
>>> >> >> >> then restarted the server with iisreset.exe
>>> >> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>>> >> >> >> and after 10 minutes still "Connecting / Waiting for >> >>
>>> .../phpinfo.php"
>>> >> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>>> >> >> >> Other suggestions ?
>>> >> >> >> TIA, Cor
>>> >> >> >
>>> >> >> > So it is not just .php files which will not work? If you have >>

>>> >> >> >  >> >> >  >
>>> trouble >
>>> >> with
>>> >> >> .html files as well then it almost sounds like a firewall issue >>

>>> >> >>  >> since >>
>>> your
>>> >> >> connection "hangs" until timeout.
>>> >> >> >
>>> >> >> > Try this to see if the webserver is accepting a connection:
>>> >> >> > telnet 127.0.0.1 80
>>> >> >> > Then type the two lines below, ending each one with the enter 
>>> >> >> > key >> >> >  >> >
>>> (new >
>>> >> line)
>>> >> >> > HEAD / HTTP/1.1
>>> >> >> > Host: 127.0.0.1
>>> >> >> > (hit enter once more)
>>> >> >> >
>>> >> >> > And you should get an answer from your server, mine looks like 
>>> >> >> >  >> >> > this:
>>> >> >> > HTTP/1.1 200 OK
>>> >> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>>

Re: [PHP] all local sites stopped working ... [SOLVED]

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 2:03 PM
Subject: Re: [PHP] all local sites stopped working ...



From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 


Sent: Sat, October 17, 2009 4:49:53 AM
Subject: Re: [PHP] all local sites stopped working ...


- Original Message - From: "Tommy Pham" 
To: "general php" 
Sent: Saturday, October 17, 2009 1:29 PM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 


Sent: Sat, October 17, 2009 4:19:17 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "Tommy Pham"
To: "general php"
Sent: Saturday, October 17, 2009 1:02 PM
Subject: Re: [PHP] all local sites stopped working ...


> - Original Message 
>> From: "cr.vege...@gmail.com"
>> To: Tommy Pham ; general php
>> Sent: Sat, October 17, 2009 3:57:48 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>> ----- Original Message - From: "Tommy Pham"
>> To: "general php"
>> Sent: Saturday, October 17, 2009 12:21 PM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>>
>> > ----- Original Message ----
>> >> From: "cr.vege...@gmail.com"
>> >> To: John Black
>> >> Cc: php-general@lists.php.net
>> >> Sent: Sat, October 17, 2009 3:17:22 AM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >> - Original Message - From: "John Black"
>> >> To:
>> >> Cc:
>> >> Sent: Saturday, October 17, 2009 11:53 AM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >>
>> >> > cr.vege...@gmail.com wrote:
>> >> >> In php.ini I defined: error_log = >> >> >> 
>> >> >> C:\Inetpub\wwwroot\PHPError.log

>> >> >> then restarted the server with iisreset.exe
>> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>> >> >> and after 10 minutes still "Connecting / Waiting for >> >>
.../phpinfo.php"
>> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>> >> >> Other suggestions ?
>> >> >> TIA, Cor
>> >> >
>> >> > So it is not just .php files which will not work? If you have >> 
>> >> >  >> >> >  >

trouble >
>> with
>> >> .html files as well then it almost sounds like a firewall issue >> 
>> >>  >> since >>

your
>> >> connection "hangs" until timeout.
>> >> >
>> >> > Try this to see if the webserver is accepting a connection:
>> >> > telnet 127.0.0.1 80
>> >> > Then type the two lines below, ending each one with the enter 
>> >> > key >> >> >  >> >

(new >
>> line)
>> >> > HEAD / HTTP/1.1
>> >> > Host: 127.0.0.1
>> >> > (hit enter once more)
>> >> >
>> >> > And you should get an answer from your server, mine looks like 
>> >> >  >> >> > this:

>> >> > HTTP/1.1 200 OK
>> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>> >> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 
>> >> >  >> >> >  >

>> SVN/1.6.5
>> >> PHP/5.3.0 with Suhosin-Patch
>> >> > Content-Type: text/html;charset=ISO-8859-1
>> >> > Connection closed by foreign host.
>> >> >
>> >> >
>> >> > Does this work?
>> >>
>> >> John,
>> >> Opening a *.HTM file from Windows Explorer goes well.
>> >
>> > It's not the same thing as using your web browser and try to view 
>> >  >> > the >

*.HTM
>> file(s) through IIS.  Notice the protocol difference file:// vs >> 
>> http://.

>> >
>> >> So the webserver is accepting a connection ...
>> >> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
>> >> From the OS prompt C:\  ?
>> >
>> > In a command prompt.  Directory path doesn't matter.
>> >
>> From the C:\ prompt, I did:
>> telnet 127.0.0.1 80[Enter]
>> HEAD / HTTP/1.1[Enter]
>> Host: 127.0.0.1  

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 
Sent: Sat, October 17, 2009 4:49:53 AM
Subject: Re: [PHP] all local sites stopped working ...


- Original Message - From: "Tommy Pham" 
To: "general php" 
Sent: Saturday, October 17, 2009 1:29 PM
Subject: Re: [PHP] all local sites stopped working ...


> - Original Message 
>> From: "cr.vege...@gmail.com" 
>> To: Tommy Pham ; general php 
>> Sent: Sat, October 17, 2009 4:19:17 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>> 
>> - Original Message - From: "Tommy Pham"
>> To: "general php"
>> Sent: Saturday, October 17, 2009 1:02 PM
>> Subject: Re: [PHP] all local sites stopped working ...
>> 
>> 
>> > - Original Message ----
>> >> From: "cr.vege...@gmail.com"
>> >> To: Tommy Pham ; general php
>> >> Sent: Sat, October 17, 2009 3:57:48 AM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >> - Original Message - From: "Tommy Pham"
>> >> To: "general php"
>> >> Sent: Saturday, October 17, 2009 12:21 PM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >>
>> >> > - Original Message 
>> >> >> From: "cr.vege...@gmail.com"
>> >> >> To: John Black
>> >> >> Cc: php-general@lists.php.net
>> >> >> Sent: Sat, October 17, 2009 3:17:22 AM
>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>> >> >>
>> >> >> - Original Message - From: "John Black"
>> >> >> To:
>> >> >> Cc:
>> >> >> Sent: Saturday, October 17, 2009 11:53 AM
>> >> >> Subject: Re: [PHP] all local sites stopped working ...
>> >> >>
>> >> >>
>> >> >> > cr.vege...@gmail.com wrote:
>> >> >> >> In php.ini I defined: error_log = >> >> >> 
>> >> >> >> C:\Inetpub\wwwroot\PHPError.log
>> >> >> >> then restarted the server with iisreset.exe
>> >> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>> >> >> >> and after 10 minutes still "Connecting / Waiting for >> >>
>> .../phpinfo.php"
>> >> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>> >> >> >> Other suggestions ?
>> >> >> >> TIA, Cor
>> >> >> >
>> >> >> > So it is not just .php files which will not work? If you have >> >> 
>> >> >> > >> >  >
>> trouble >
>> >> with
>> >> >> .html files as well then it almost sounds like a firewall issue >> >> 
>> >> >> since >>
>> your
>> >> >> connection "hangs" until timeout.
>> >> >> >
>> >> >> > Try this to see if the webserver is accepting a connection:
>> >> >> > telnet 127.0.0.1 80
>> >> >> > Then type the two lines below, ending each one with the enter key >> 
>> >> >> > >> >  >> >
>> (new >
>> >> line)
>> >> >> > HEAD / HTTP/1.1
>> >> >> > Host: 127.0.0.1
>> >> >> > (hit enter once more)
>> >> >> >
>> >> >> > And you should get an answer from your server, mine looks like >> >> 
>> >> >> > > this:
>> >> >> > HTTP/1.1 200 OK
>> >> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>> >> >> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 >> 
>> >> >> > >> >  >
>> >> SVN/1.6.5
>> >> >> PHP/5.3.0 with Suhosin-Patch
>> >> >> > Content-Type: text/html;charset=ISO-8859-1
>> >> >> > Connection closed by foreign host.
>> >> >> >
>> >> >> >
>> >> >> > Does this work?
>> >> >>
>> >> >> John,
>> >> >> Opening a *.HTM file from Windows Explorer goes well.
>> >> >
>> >> > It's not the same thing as using your web browser and try to view >> > 
>>

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin


- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 1:29 PM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 


Sent: Sat, October 17, 2009 4:19:17 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "Tommy Pham"
To: "general php"
Sent: Saturday, October 17, 2009 1:02 PM
Subject: Re: [PHP] all local sites stopped working ...


> - Original Message 
>> From: "cr.vege...@gmail.com"
>> To: Tommy Pham ; general php
>> Sent: Sat, October 17, 2009 3:57:48 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>> - Original Message - From: "Tommy Pham"
>> To: "general php"
>> Sent: Saturday, October 17, 2009 12:21 PM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>>
>> > - Original Message ----
>> >> From: "cr.vege...@gmail.com"
>> >> To: John Black
>> >> Cc: php-general@lists.php.net
>> >> Sent: Sat, October 17, 2009 3:17:22 AM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >> - Original Message - From: "John Black"
>> >> To:
>> >> Cc:
>> >> Sent: Saturday, October 17, 2009 11:53 AM
>> >> Subject: Re: [PHP] all local sites stopped working ...
>> >>
>> >>
>> >> > cr.vege...@gmail.com wrote:
>> >> >> In php.ini I defined: error_log = 
>> >> >> C:\Inetpub\wwwroot\PHPError.log

>> >> >> then restarted the server with iisreset.exe
>> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>> >> >> and after 10 minutes still "Connecting / Waiting for >> >>
.../phpinfo.php"
>> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>> >> >> Other suggestions ?
>> >> >> TIA, Cor
>> >> >
>> >> > So it is not just .php files which will not work? If you have >> 
>> >> >  >

trouble >
>> with
>> >> .html files as well then it almost sounds like a firewall issue 
>> >> since >>

your
>> >> connection "hangs" until timeout.
>> >> >
>> >> > Try this to see if the webserver is accepting a connection:
>> >> > telnet 127.0.0.1 80
>> >> > Then type the two lines below, ending each one with the enter key 
>> >> >  >> >

(new >
>> line)
>> >> > HEAD / HTTP/1.1
>> >> > Host: 127.0.0.1
>> >> > (hit enter once more)
>> >> >
>> >> > And you should get an answer from your server, mine looks like 
>> >> > this:

>> >> > HTTP/1.1 200 OK
>> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>> >> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 
>> >> >  >

>> SVN/1.6.5
>> >> PHP/5.3.0 with Suhosin-Patch
>> >> > Content-Type: text/html;charset=ISO-8859-1
>> >> > Connection closed by foreign host.
>> >> >
>> >> >
>> >> > Does this work?
>> >>
>> >> John,
>> >> Opening a *.HTM file from Windows Explorer goes well.
>> >
>> > It's not the same thing as using your web browser and try to view 
>> > the >

*.HTM
>> file(s) through IIS.  Notice the protocol difference file:// vs 
>> http://.

>> >
>> >> So the webserver is accepting a connection ...
>> >> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
>> >> From the OS prompt C:\  ?
>> >
>> > In a command prompt.  Directory path doesn't matter.
>> >
>> From the C:\ prompt, I did:
>> telnet 127.0.0.1 80[Enter]
>> HEAD / HTTP/1.1[Enter]
>> Host: 127.0.0.1 [Enter]
>> [Enter]
>> but all I get is a black window ...
>
> Looks like John was right about the firewall.  What service pack did 
> you have
before your recent windows update?  You'll need to disable the firewall 
in

services and try the telnet again.
>

Tommy,
I did and do have Windows XP SP3. My firewall was turned off.
I turned it On, but http://127.0.0.1/.../phpinfo.php is not working.
I turned it Off, and http://127.0.0.1/.../phpinfo.php is not working
and telnet comman

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> Sent: Sat, October 17, 2009 4:33:02 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 1:08 PM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> > - Original Message 
> >> From: "cr.vege...@gmail.com" 
> >> To: Tommy Pham ; general php 
> >> Sent: Sat, October 17, 2009 4:00:24 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> ----- Original Message ----- From: "Tommy Pham"
> >> To: "general php"
> >> Sent: Saturday, October 17, 2009 11:54 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> 
> >> > ----- Original Message ----
> >> >> From: "cr.vege...@gmail.com"
> >> >> To: John Black
> >> >> Cc: Tommy Pham ; php-general@lists.php.net
> >> >> Sent: Sat, October 17, 2009 2:44:32 AM
> >> >> Subject: Re: [PHP] all local sites stopped working ...
> >> >>
> >> >> - Original Message - From: "John Black"
> >> >> To:
> >> >> Cc: "Tommy Pham" ;
> >> >> Sent: Saturday, October 17, 2009 11:08 AM
> >> >> Subject: Re: [PHP] all local sites stopped working ...
> >> >>
> >> >>
> >> >> >> cr.vege...@gmail.com wrote:
> >> >> >> Where / how to look for a PHP specific log file ?
> >> >> >
> >> >> > Inside php.ini is the option to specify a separate PHP log file
> >> >> > here is the setting for my main system (Linux)
> >> >> >
> >> >> > error_log = /home/user/php_log.txt
> >> >> >
> >> >> > Remember to restart your webserver after adjusting php.ini
> >> >> >
> >> >> > EDIT: Sry, for the double post, I did not use reply all.
> >> >> > -- >> Thanks John,
> >> >>
> >> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> >> >> then restarted the server with iisreset.exe
> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
> >> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> >> >>
> >> >
> >> > I see several problems.
> >> >
> >> > 1) It's bad practice to put the log file in C:\Inetpub\wwwroot where > 
> anyone
> >> can access it.  It's a major security issue.
> >> > 2) It's been over 3 years since I dealt (hands on) with WinXP so here > 
> goes...
> >> IIS by default runs as NETWORK SERVICE.  That builtin account does not have
> >> create/modify rights on C:\Inetpub\wwwroot (by default). Thus you wouldn't 
> >> be
> >> able to see the file created.
> >> >
> >> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> >
> >> > This is a good sign as it seems IIS is trying to run PHP but having > 
> >> > some
> >> problems.  Check the System & Application event logs for errors.  Change
> >> phperror.log file location, restart IIS, and try phpinfo.php again.
> >> >
> >> Hi Tommy,
> >> 
> >> In php.ini I changed to: error_log = C:\PHPerror.log
> >> restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
> >> and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> 
> >> Then I changed to: error_log = C:\tmp\PHPerror.log
> >> restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
> >> and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> 
> > 
> > You'll need to grant modify permission to NETWORK SERVICE for the folder 
> C:\tmp.  Run the below command in the command prompt:
> > 
> > cacls /t /e /g "NETWORK SERVICE":c c:\tmp
> > 
> >> I will look for all local filenames containing the string "log" ...
> >> 
> 
> Having in php.ini: error_log = C:\tmp\PHPerror.log
> I gave from the command prompt:
> cacls /t /e /g "NETWORK SERVICE":c c:\tmp

Did you restart IIS after this command?

> then in IE: http://127.0.0.1/.../phpinfo.php
> and still "Connecting / Waiting for .../phpinfo.php"
> 
> Apparently it is not a write permission problem.
> 
> 
> 
> -- 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] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 1:08 PM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 


Sent: Sat, October 17, 2009 4:00:24 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "Tommy Pham"
To: "general php"
Sent: Saturday, October 17, 2009 11:54 AM
Subject: Re: [PHP] all local sites stopped working ...


> - Original Message 
>> From: "cr.vege...@gmail.com"
>> To: John Black
>> Cc: Tommy Pham ; php-general@lists.php.net
>> Sent: Sat, October 17, 2009 2:44:32 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>> - Original Message - From: "John Black"
>> To:
>> Cc: "Tommy Pham" ;
>> Sent: Saturday, October 17, 2009 11:08 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>>
>> >> cr.vege...@gmail.com wrote:
>> >> Where / how to look for a PHP specific log file ?
>> >
>> > Inside php.ini is the option to specify a separate PHP log file
>> > here is the setting for my main system (Linux)
>> >
>> > error_log = /home/user/php_log.txt
>> >
>> > Remember to restart your webserver after adjusting php.ini
>> >
>> > EDIT: Sry, for the double post, I did not use reply all.
>> > -- 
>> Thanks John,

>>
>> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
>> then restarted the server with iisreset.exe
>> then started with IE: http://127.0.0.1/.../phpinfo.php
>> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
>> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>>
>
> I see several problems.
>
> 1) It's bad practice to put the log file in C:\Inetpub\wwwroot where 
> anyone

can access it.  It's a major security issue.
> 2) It's been over 3 years since I dealt (hands on) with WinXP so here 
> goes...
IIS by default runs as NETWORK SERVICE.  That builtin account does not 
have
create/modify rights on C:\Inetpub\wwwroot (by default). Thus you 
wouldn't be

able to see the file created.
>
>> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
>
> This is a good sign as it seems IIS is trying to run PHP but having 
> some

problems.  Check the System & Application event logs for errors.  Change
phperror.log file location, restart IIS, and try phpinfo.php again.
>
Hi Tommy,

In php.ini I changed to: error_log = C:\PHPerror.log
restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"

Then I changed to: error_log = C:\tmp\PHPerror.log
restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"



You'll need to grant modify permission to NETWORK SERVICE for the folder 
C:\tmp.  Run the below command in the command prompt:


cacls /t /e /g "NETWORK SERVICE":c c:\tmp


I will look for all local filenames containing the string "log" ...



Having in php.ini: error_log = C:\tmp\PHPerror.log
I gave from the command prompt:
cacls /t /e /g "NETWORK SERVICE":c c:\tmp
then in IE: http://127.0.0.1/.../phpinfo.php
and still "Connecting / Waiting for .../phpinfo.php"

Apparently it is not a write permission problem.



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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> Sent: Sat, October 17, 2009 4:19:17 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 1:02 PM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> > - Original Message 
> >> From: "cr.vege...@gmail.com" 
> >> To: Tommy Pham ; general php 
> >> Sent: Sat, October 17, 2009 3:57:48 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> ----- Original Message ----- From: "Tommy Pham"
> >> To: "general php"
> >> Sent: Saturday, October 17, 2009 12:21 PM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> 
> >> > - Original Message 
> >> >> From: "cr.vege...@gmail.com"
> >> >> To: John Black
> >> >> Cc: php-general@lists.php.net
> >> >> Sent: Sat, October 17, 2009 3:17:22 AM
> >> >> Subject: Re: [PHP] all local sites stopped working ...
> >> >>
> >> >> - Original Message - From: "John Black"
> >> >> To:
> >> >> Cc:
> >> >> Sent: Saturday, October 17, 2009 11:53 AM
> >> >> Subject: Re: [PHP] all local sites stopped working ...
> >> >>
> >> >>
> >> >> > cr.vege...@gmail.com wrote:
> >> >> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> >> >> >> then restarted the server with iisreset.exe
> >> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
> >> >> >> and after 10 minutes still "Connecting / Waiting for >> >> 
> .../phpinfo.php"
> >> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> >> >> >> Other suggestions ?
> >> >> >> TIA, Cor
> >> >> >
> >> >> > So it is not just .php files which will not work? If you have >> > 
> trouble >
> >> with
> >> >> .html files as well then it almost sounds like a firewall issue since 
> >> >> >> 
> your
> >> >> connection "hangs" until timeout.
> >> >> >
> >> >> > Try this to see if the webserver is accepting a connection:
> >> >> > telnet 127.0.0.1 80
> >> >> > Then type the two lines below, ending each one with the enter key >> 
> >> >> > > 
> (new >
> >> line)
> >> >> > HEAD / HTTP/1.1
> >> >> > Host: 127.0.0.1
> >> >> > (hit enter once more)
> >> >> >
> >> >> > And you should get an answer from your server, mine looks like this:
> >> >> > HTTP/1.1 200 OK
> >> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
> >> >> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 >
> >> SVN/1.6.5
> >> >> PHP/5.3.0 with Suhosin-Patch
> >> >> > Content-Type: text/html;charset=ISO-8859-1
> >> >> > Connection closed by foreign host.
> >> >> >
> >> >> >
> >> >> > Does this work?
> >> >>
> >> >> John,
> >> >> Opening a *.HTM file from Windows Explorer goes well.
> >> >
> >> > It's not the same thing as using your web browser and try to view the > 
> *.HTM
> >> file(s) through IIS.  Notice the protocol difference file:// vs http://.
> >> >
> >> >> So the webserver is accepting a connection ...
> >> >> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
> >> >> From the OS prompt C:\  ?
> >> >
> >> > In a command prompt.  Directory path doesn't matter.
> >> >
> >> From the C:\ prompt, I did:
> >> telnet 127.0.0.1 80[Enter]
> >> HEAD / HTTP/1.1[Enter]
> >> Host: 127.0.0.1 [Enter]
> >> [Enter]
> >> but all I get is a black window ...
> > 
> > Looks like John was right about the firewall.  What service pack did you 
> > have 
> before your recent windows update?  You'll need to disable the firewall in 
> services and try the telnet again.
> > 
> 
> Tommy,
> I did and do have Windows XP SP3. My firewall was turned off.
> I turned it On, but http://127.0.0.1/.../phpinfo.php is not working.
> I turned it Off, and http://127.0.0.1/.../phpinfo.php is not working
> and telnet commands don't show anything ...
> Any other idea ?
> TIA, Cor 

1) Did you run that command for granting permission of NETWORK SERVICE for the 
c:\tmp?  and restart IIS?
2) run 'netstat -ano' without the single quote in the command prompt and show 
me what you see.
3) Use word pad and put in the below content and save it as itworks.htm (text 
type) in c:\inetpub\wwwroot



It works!


then use your web browser and go to http://localhost/itworks.htm

4) Did you check to see if there are any errors in the System and Application 
event logs?

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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 1:02 PM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: Tommy Pham ; general php 


Sent: Sat, October 17, 2009 3:57:48 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "Tommy Pham"
To: "general php"
Sent: Saturday, October 17, 2009 12:21 PM
Subject: Re: [PHP] all local sites stopped working ...


> - Original Message 
>> From: "cr.vege...@gmail.com"
>> To: John Black
>> Cc: php-general@lists.php.net
>> Sent: Sat, October 17, 2009 3:17:22 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>> - Original Message ----- From: "John Black"
>> To:
>> Cc:
>> Sent: Saturday, October 17, 2009 11:53 AM
>> Subject: Re: [PHP] all local sites stopped working ...
>>
>>
>> > cr.vege...@gmail.com wrote:
>> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
>> >> then restarted the server with iisreset.exe
>> >> then started with IE: http://127.0.0.1/.../phpinfo.php
>> >> and after 10 minutes still "Connecting / Waiting for 
>> >> .../phpinfo.php"

>> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>> >> Other suggestions ?
>> >> TIA, Cor
>> >
>> > So it is not just .php files which will not work? If you have 
>> > trouble >

with
>> .html files as well then it almost sounds like a firewall issue since 
>> your

>> connection "hangs" until timeout.
>> >
>> > Try this to see if the webserver is accepting a connection:
>> > telnet 127.0.0.1 80
>> > Then type the two lines below, ending each one with the enter key 
>> > (new >

line)
>> > HEAD / HTTP/1.1
>> > Host: 127.0.0.1
>> > (hit enter once more)
>> >
>> > And you should get an answer from your server, mine looks like this:
>> > HTTP/1.1 200 OK
>> > Date: Sat, 17 Oct 2009 09:49:16 GMT
>> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 >
SVN/1.6.5
>> PHP/5.3.0 with Suhosin-Patch
>> > Content-Type: text/html;charset=ISO-8859-1
>> > Connection closed by foreign host.
>> >
>> >
>> > Does this work?
>>
>> John,
>> Opening a *.HTM file from Windows Explorer goes well.
>
> It's not the same thing as using your web browser and try to view the 
> *.HTM

file(s) through IIS.  Notice the protocol difference file:// vs http://.
>
>> So the webserver is accepting a connection ...
>> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
>> From the OS prompt C:\  ?
>
> In a command prompt.  Directory path doesn't matter.
>
From the C:\ prompt, I did:
telnet 127.0.0.1 80[Enter]
HEAD / HTTP/1.1[Enter]
Host: 127.0.0.1 [Enter]
[Enter]
but all I get is a black window ...


Looks like John was right about the firewall.  What service pack did you 
have before your recent windows update?  You'll need to disable the 
firewall in services and try the telnet again.




Tommy,
I did and do have Windows XP SP3. My firewall was turned off.
I turned it On, but http://127.0.0.1/.../phpinfo.php is not working.
I turned it Off, and http://127.0.0.1/.../phpinfo.php is not working
and telnet commands don't show anything ...
Any other idea ?
TIA, Cor 




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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> Sent: Sat, October 17, 2009 4:00:24 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 11:54 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> > - Original Message 
> >> From: "cr.vege...@gmail.com" 
> >> To: John Black 
> >> Cc: Tommy Pham ; php-general@lists.php.net
> >> Sent: Sat, October 17, 2009 2:44:32 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> ----- Original Message ----- From: "John Black"
> >> To:
> >> Cc: "Tommy Pham" ;
> >> Sent: Saturday, October 17, 2009 11:08 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> 
> >> >> cr.vege...@gmail.com wrote:
> >> >> Where / how to look for a PHP specific log file ?
> >> >
> >> > Inside php.ini is the option to specify a separate PHP log file
> >> > here is the setting for my main system (Linux)
> >> >
> >> > error_log = /home/user/php_log.txt
> >> >
> >> > Remember to restart your webserver after adjusting php.ini
> >> >
> >> > EDIT: Sry, for the double post, I did not use reply all.
> >> > -- 
> >> Thanks John,
> >> 
> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> >> then restarted the server with iisreset.exe
> >> then started with IE: http://127.0.0.1/.../phpinfo.php
> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> >> 
> > 
> > I see several problems.
> > 
> > 1) It's bad practice to put the log file in C:\Inetpub\wwwroot where anyone 
> can access it.  It's a major security issue.
> > 2) It's been over 3 years since I dealt (hands on) with WinXP so here 
> > goes...  
> IIS by default runs as NETWORK SERVICE.  That builtin account does not have 
> create/modify rights on C:\Inetpub\wwwroot (by default). Thus you wouldn't be 
> able to see the file created.
> > 
> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> > 
> > This is a good sign as it seems IIS is trying to run PHP but having some 
> problems.  Check the System & Application event logs for errors.  Change 
> phperror.log file location, restart IIS, and try phpinfo.php again.
> > 
> Hi Tommy,
> 
> In php.ini I changed to: error_log = C:\PHPerror.log
> restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
> and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"
> 
> Then I changed to: error_log = C:\tmp\PHPerror.log
> restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
> and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"
> 

You'll need to grant modify permission to NETWORK SERVICE for the folder 
C:\tmp.  Run the below command in the command prompt:

cacls /t /e /g "NETWORK SERVICE":c c:\tmp

> I will look for all local filenames containing the string "log" ...
> 
> Thanks, Cor
> 
> 
> 
> -- 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] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; general php 
> Sent: Sat, October 17, 2009 3:57:48 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "Tommy Pham" 
> To: "general php" 
> Sent: Saturday, October 17, 2009 12:21 PM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> > - Original Message 
> >> From: "cr.vege...@gmail.com" 
> >> To: John Black 
> >> Cc: php-general@lists.php.net
> >> Sent: Sat, October 17, 2009 3:17:22 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> - Original Message ----- From: "John Black"
> >> To:
> >> Cc:
> >> Sent: Saturday, October 17, 2009 11:53 AM
> >> Subject: Re: [PHP] all local sites stopped working ...
> >> 
> >> 
> >> > cr.vege...@gmail.com wrote:
> >> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> >> >> then restarted the server with iisreset.exe
> >> >> then started with IE: http://127.0.0.1/.../phpinfo.php
> >> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> >> >> Other suggestions ?
> >> >> TIA, Cor
> >> >
> >> > So it is not just .php files which will not work? If you have trouble > 
> with
> >> .html files as well then it almost sounds like a firewall issue since your
> >> connection "hangs" until timeout.
> >> >
> >> > Try this to see if the webserver is accepting a connection:
> >> > telnet 127.0.0.1 80
> >> > Then type the two lines below, ending each one with the enter key (new > 
> line)
> >> > HEAD / HTTP/1.1
> >> > Host: 127.0.0.1
> >> > (hit enter once more)
> >> >
> >> > And you should get an answer from your server, mine looks like this:
> >> > HTTP/1.1 200 OK
> >> > Date: Sat, 17 Oct 2009 09:49:16 GMT
> >> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 > 
> SVN/1.6.5
> >> PHP/5.3.0 with Suhosin-Patch
> >> > Content-Type: text/html;charset=ISO-8859-1
> >> > Connection closed by foreign host.
> >> >
> >> >
> >> > Does this work?
> >> 
> >> John,
> >> Opening a *.HTM file from Windows Explorer goes well.
> > 
> > It's not the same thing as using your web browser and try to view the *.HTM 
> file(s) through IIS.  Notice the protocol difference file:// vs http://.
> > 
> >> So the webserver is accepting a connection ...
> >> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
> >> From the OS prompt C:\  ?
> > 
> > In a command prompt.  Directory path doesn't matter.
> > 
> From the C:\ prompt, I did:
> telnet 127.0.0.1 80[Enter]
> HEAD / HTTP/1.1[Enter]
> Host: 127.0.0.1 [Enter]
> [Enter]
> but all I get is a black window ...

Looks like John was right about the firewall.  What service pack did you have 
before your recent windows update?  You'll need to disable the firewall in 
services and try the telnet again.

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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 11:54 AM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: John Black 
Cc: Tommy Pham ; php-general@lists.php.net
Sent: Sat, October 17, 2009 2:44:32 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "John Black"
To:
Cc: "Tommy Pham" ;
Sent: Saturday, October 17, 2009 11:08 AM
Subject: Re: [PHP] all local sites stopped working ...


>> cr.vege...@gmail.com wrote:
>> Where / how to look for a PHP specific log file ?
>
> Inside php.ini is the option to specify a separate PHP log file
> here is the setting for my main system (Linux)
>
> error_log = /home/user/php_log.txt
>
> Remember to restart your webserver after adjusting php.ini
>
> EDIT: Sry, for the double post, I did not use reply all.
> -- 


Thanks John,

In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
then restarted the server with iisreset.exe
then started with IE: http://127.0.0.1/.../phpinfo.php
and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
and still no C:\Inetpub\wwwroot\PHPError.log created ...



I see several problems.

1) It's bad practice to put the log file in C:\Inetpub\wwwroot where 
anyone can access it.  It's a major security issue.
2) It's been over 3 years since I dealt (hands on) with WinXP so here 
goes...  IIS by default runs as NETWORK SERVICE.  That builtin account 
does not have create/modify rights on C:\Inetpub\wwwroot (by default). 
Thus you wouldn't be able to see the file created.



and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"


This is a good sign as it seems IIS is trying to run PHP but having some 
problems.  Check the System & Application event logs for errors.  Change 
phperror.log file location, restart IIS, and try phpinfo.php again.



Hi Tommy,

In php.ini I changed to: error_log = C:\PHPerror.log
restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"

Then I changed to: error_log = C:\tmp\PHPerror.log
restarted the IIS server, then http://127.0.0.1/.../phpinfo.php
and after 5 minutes still "Connecting / Waiting for .../phpinfo.php"

I will look for all local filenames containing the string "log" ...

Thanks, Cor



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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: "general php" 
Sent: Saturday, October 17, 2009 12:21 PM
Subject: Re: [PHP] all local sites stopped working ...



- Original Message 

From: "cr.vege...@gmail.com" 
To: John Black 
Cc: php-general@lists.php.net
Sent: Sat, October 17, 2009 3:17:22 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "John Black"
To:
Cc:
Sent: Saturday, October 17, 2009 11:53 AM
Subject: Re: [PHP] all local sites stopped working ...


> cr.vege...@gmail.com wrote:
>> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
>> then restarted the server with iisreset.exe
>> then started with IE: http://127.0.0.1/.../phpinfo.php
>> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
>> and still no C:\Inetpub\wwwroot\PHPError.log created ...
>> Other suggestions ?
>> TIA, Cor
>
> So it is not just .php files which will not work? If you have trouble 
> with
.html files as well then it almost sounds like a firewall issue since 
your

connection "hangs" until timeout.
>
> Try this to see if the webserver is accepting a connection:
> telnet 127.0.0.1 80
> Then type the two lines below, ending each one with the enter key (new 
> line)

> HEAD / HTTP/1.1
> Host: 127.0.0.1
> (hit enter once more)
>
> And you should get an answer from your server, mine looks like this:
> HTTP/1.1 200 OK
> Date: Sat, 17 Oct 2009 09:49:16 GMT
> Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 
> SVN/1.6.5

PHP/5.3.0 with Suhosin-Patch
> Content-Type: text/html;charset=ISO-8859-1
> Connection closed by foreign host.
>
>
> Does this work?

John,
Opening a *.HTM file from Windows Explorer goes well.


It's not the same thing as using your web browser and try to view the 
*.HTM file(s) through IIS.  Notice the protocol difference file:// vs 
http://.



So the webserver is accepting a connection ...
Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
From the OS prompt C:\  ?


In a command prompt.  Directory path doesn't matter.

From the C:\ prompt, I did:

telnet 127.0.0.1 80[Enter]
HEAD / HTTP/1.1[Enter]
Host: 127.0.0.1 [Enter]
[Enter]
but all I get is a black window ...




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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "John Black" 

To: 
Cc: "Tommy Pham" ; 
Sent: Saturday, October 17, 2009 11:08 AM
Subject: Re: [PHP] all local sites stopped working ...



cr.vege...@gmail.com wrote:
Where / how to look for a PHP specific log file ?


Inside php.ini is the option to specify a separate PHP log file
here is the setting for my main system (Linux)

error_log = /home/user/php_log.txt

Remember to restart your webserver after adjusting php.ini

EDIT: Sry, for the double post, I did not use reply all.
--


Thanks John,

In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
then restarted the server with iisreset.exe
then started with IE: http://127.0.0.1/.../phpinfo.php
and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
and still no C:\Inetpub\wwwroot\PHPError.log created ...

Other suggestions ?
TIA, Cor


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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: John Black 
> Cc: php-general@lists.php.net
> Sent: Sat, October 17, 2009 3:17:22 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "John Black" 
> To: 
> Cc: 
> Sent: Saturday, October 17, 2009 11:53 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> > cr.vege...@gmail.com wrote:
> >> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> >> then restarted the server with iisreset.exe
> >> then started with IE: http://127.0.0.1/.../phpinfo.php
> >> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> >> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> >> Other suggestions ?
> >> TIA, Cor
> > 
> > So it is not just .php files which will not work? If you have trouble with 
> .html files as well then it almost sounds like a firewall issue since your 
> connection "hangs" until timeout.
> > 
> > Try this to see if the webserver is accepting a connection:
> > telnet 127.0.0.1 80
> > Then type the two lines below, ending each one with the enter key (new line)
> > HEAD / HTTP/1.1
> > Host: 127.0.0.1
> > (hit enter once more)
> > 
> > And you should get an answer from your server, mine looks like this:
> > HTTP/1.1 200 OK
> > Date: Sat, 17 Oct 2009 09:49:16 GMT
> > Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 SVN/1.6.5 
> PHP/5.3.0 with Suhosin-Patch
> > Content-Type: text/html;charset=ISO-8859-1
> > Connection closed by foreign host.
> > 
> > 
> > Does this work?
> 
> John,
> Opening a *.HTM file from Windows Explorer goes well.

It's not the same thing as using your web browser and try to view the *.HTM 
file(s) through IIS.  Notice the protocol difference file:// vs http://.

> So the webserver is accepting a connection ...
> Nevertheless, where should I enter: telnet 127.0.0.1 80 ?
> From the OS prompt C:\  ?

In a command prompt.  Directory path doesn't matter.

> 
> TIA, Cor
> 
> 
> 
> -- 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] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "John Black" 

To: 
Cc: 
Sent: Saturday, October 17, 2009 11:53 AM
Subject: Re: [PHP] all local sites stopped working ...



cr.vege...@gmail.com wrote:

In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
then restarted the server with iisreset.exe
then started with IE: http://127.0.0.1/.../phpinfo.php
and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
and still no C:\Inetpub\wwwroot\PHPError.log created ...
Other suggestions ?
TIA, Cor


So it is not just .php files which will not work? If you have trouble with 
.html files as well then it almost sounds like a firewall issue since your 
connection "hangs" until timeout.


Try this to see if the webserver is accepting a connection:
telnet 127.0.0.1 80
Then type the two lines below, ending each one with the enter key (new 
line)

HEAD / HTTP/1.1
Host: 127.0.0.1
(hit enter once more)

And you should get an answer from your server, mine looks like this:
HTTP/1.1 200 OK
Date: Sat, 17 Oct 2009 09:49:16 GMT
Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 SVN/1.6.5 
PHP/5.3.0 with Suhosin-Patch

Content-Type: text/html;charset=ISO-8859-1
Connection closed by foreign host.


Does this work?


John,
Opening a *.HTM file from Windows Explorer goes well.
So the webserver is accepting a connection ...
Nevertheless, where should I enter: telnet 127.0.0.1 80 ?

From the OS prompt C:\  ?


TIA, Cor



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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: John Black 
> Cc: Tommy Pham ; php-general@lists.php.net
> Sent: Sat, October 17, 2009 2:44:32 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "John Black" 
> To: 
> Cc: "Tommy Pham" ; 
> Sent: Saturday, October 17, 2009 11:08 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> >> cr.vege...@gmail.com wrote:
> >> Where / how to look for a PHP specific log file ?
> > 
> > Inside php.ini is the option to specify a separate PHP log file
> > here is the setting for my main system (Linux)
> > 
> > error_log = /home/user/php_log.txt
> > 
> > Remember to restart your webserver after adjusting php.ini
> > 
> > EDIT: Sry, for the double post, I did not use reply all.
> > -- 
> 
> Thanks John,
> 
> In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
> then restarted the server with iisreset.exe
> then started with IE: http://127.0.0.1/.../phpinfo.php
> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
> and still no C:\Inetpub\wwwroot\PHPError.log created ...
> 

I see several problems.

1) It's bad practice to put the log file in C:\Inetpub\wwwroot where anyone can 
access it.  It's a major security issue.
2) It's been over 3 years since I dealt (hands on) with WinXP so here goes...  
IIS by default runs as NETWORK SERVICE.  That builtin account does not have 
create/modify rights on C:\Inetpub\wwwroot (by default).  Thus you wouldn't be 
able to see the file created.

> and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"

This is a good sign as it seems IIS is trying to run PHP but having some 
problems.  Check the System & Application event logs for errors.  Change 
phperror.log file location, restart IIS, and try phpinfo.php again.

> Other suggestions ?
> TIA, Cor
> 
> 
> -- 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] all local sites stopped working ...

2009-10-17 Thread John Black

cr.vege...@gmail.com wrote:

In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log
then restarted the server with iisreset.exe
then started with IE: http://127.0.0.1/.../phpinfo.php
and after 10 minutes still "Connecting / Waiting for .../phpinfo.php"
and still no C:\Inetpub\wwwroot\PHPError.log created ...
Other suggestions ?
TIA, Cor


So it is not just .php files which will not work? If you have trouble 
with .html files as well then it almost sounds like a firewall issue 
since your connection "hangs" until timeout.


Try this to see if the webserver is accepting a connection:
telnet 127.0.0.1 80
Then type the two lines below, ending each one with the enter key (new line)
HEAD / HTTP/1.1
Host: 127.0.0.1
(hit enter once more)

And you should get an answer from your server, mine looks like this:
HTTP/1.1 200 OK
Date: Sat, 17 Oct 2009 09:49:16 GMT
Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 
SVN/1.6.5 PHP/5.3.0 with Suhosin-Patch

Content-Type: text/html;charset=ISO-8859-1
Connection closed by foreign host.


Does this work?

--
John
Je größer die Lüge, desto mehr Menschen folgen ihr.

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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin


- Original Message - 
From: "Tommy Pham" 

To: 
Sent: Saturday, October 17, 2009 11:23 AM
Subject: Re: [PHP] all local sites stopped working ...


 Original Message 

From: "cr.vege...@gmail.com" 
To: Tommy Pham ; php-general@lists.php.net
Sent: Sat, October 17, 2009 2:00:25 AM
Subject: Re: [PHP] all local sites stopped working ...

- Original Message - From: "Tommy Pham"
To:
Sent: Saturday, October 17, 2009 10:19 AM
Subject: Re: [PHP] all local sites stopped working ...


- Original Message 
> From: "cr.vege...@gmail.com"
> To: Hanjie Xu
> Cc: php-general@lists.php.net
> Sent: Sat, October 17, 2009 12:34:49 AM
> Subject: Re: [PHP] all local sites stopped working ...
>
> Yes, my web server is started.
> I also did: Start - Run - IISRESET
> and it says: Internet services successfully stopped, etc.
> So I think that's not the problem.
>
>   - Original Message -   From: Hanjie Xu
>   To: cr.vege...@gmail.com
>   Cc: php-general@lists.php.net
>   Sent: Saturday, October 17, 2009 9:29 AM
>   Subject: Re: [PHP] all local sites stopped working ...
>
>
>   Is your Web Server started?
>
>
>   2009/10/17
>
> Hi All,
>
> All my local PHP sites (http://127.0.0.1/... and 
> http://localhost/...)

> worked until today.
> Now all these local sites don't work anymore.
> The only difference since yesterday is running 16 Windows Updates.
>
> I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
> Can I set a php.ini setting to track down the problem ?
> Or where else to look to solve this problem ?
>
> Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT
>
> Any help highly appreciated !!!
>
> TIA, Cor
>   --   许汉杰

* Did you restart your system after windows update?
A: yes I did. After the restart this morning, the problem occurs.

* What's your ini settings regarding logging and start-up errors?
A: my php.ini has the following settings (not changed for a year):
   log_errors = On
   ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
   ;error_log = syslog
   ; fastcgi.log = 0
   define_syslog_variables  = Off
   display_startup_errors = On
   session.auto_start = 0

* Did you check PHP error log?
A: The only log files I can find are:
   C:\WINDOWS\system32\LogFiles\W3SVC1\ex091017.log with:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2009-10-17 08:20:06
#Fields: time c-ip cs-method cs-uri-stem sc-status
08:20:06 127.0.0.1 GET /.../favicon.ico 404
08:20:06 127.0.0.1 GET /.../favicon.ico 404
   C:\WINDOWS\Temp\WGAErrLog.txt (dated 17/10/2009) with:
   a repeated string of D446F964-596-80004005
Where / how to look for a PHP specific log file ?


See John Black's reply.  Forgot to ask you if there are any errors in System 
& Application event logs.




* Is PHP running as CGI/FCGI or ISAPI?
A: Don't know. Where can I see which mode it is running ?


Did you setup PHP?  You don't remember how you configured it?  Is the PHP 
you're using an official distribution from PHP.net?  Or is it from someone 
else build it?


A:  PHP was set up for me a few years ago, using an official distribution 
from PHP.

 Never had this problem before ...




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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
 Original Message 
> From: "cr.vege...@gmail.com" 
> To: Tommy Pham ; php-general@lists.php.net
> Sent: Sat, October 17, 2009 2:00:25 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> - Original Message - From: "Tommy Pham" 
> To: 
> Sent: Saturday, October 17, 2009 10:19 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> 
> - Original Message 
> > From: "cr.vege...@gmail.com" 
> > To: Hanjie Xu 
> > Cc: php-general@lists.php.net
> > Sent: Sat, October 17, 2009 12:34:49 AM
> > Subject: Re: [PHP] all local sites stopped working ...
> > 
> > Yes, my web server is started.
> > I also did: Start - Run - IISRESET
> > and it says: Internet services successfully stopped, etc.
> > So I think that's not the problem.
> > 
> >   - Original Message -   From: Hanjie Xu
> >   To: cr.vege...@gmail.com
> >   Cc: php-general@lists.php.net
> >   Sent: Saturday, October 17, 2009 9:29 AM
> >   Subject: Re: [PHP] all local sites stopped working ...
> > 
> > 
> >   Is your Web Server started?
> > 
> > 
> >   2009/10/17
> > 
> > Hi All,
> > 
> > All my local PHP sites (http://127.0.0.1/... and http://localhost/...)
> > worked until today.
> > Now all these local sites don't work anymore.
> > The only difference since yesterday is running 16 Windows Updates.
> > 
> > I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
> > Can I set a php.ini setting to track down the problem ?
> > Or where else to look to solve this problem ?
> > 
> > Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT
> > 
> > Any help highly appreciated !!!
> > 
> > TIA, Cor
> >   --   许汉杰
> 
> * Did you restart your system after windows update?
> A: yes I did. After the restart this morning, the problem occurs.
> 
> * What's your ini settings regarding logging and start-up errors?
> A: my php.ini has the following settings (not changed for a year):
>log_errors = On
>; Log errors to syslog (Event Log on NT, not valid in Windows 95).
>;error_log = syslog
>; fastcgi.log = 0
>define_syslog_variables  = Off
>display_startup_errors = On
>session.auto_start = 0
> 
> * Did you check PHP error log?
> A: The only log files I can find are:
>C:\WINDOWS\system32\LogFiles\W3SVC1\ex091017.log with:
> #Software: Microsoft Internet Information Services 5.1
> #Version: 1.0
> #Date: 2009-10-17 08:20:06
> #Fields: time c-ip cs-method cs-uri-stem sc-status
> 08:20:06 127.0.0.1 GET /.../favicon.ico 404
> 08:20:06 127.0.0.1 GET /.../favicon.ico 404
>C:\WINDOWS\Temp\WGAErrLog.txt (dated 17/10/2009) with:
>a repeated string of D446F964-596-80004005
> Where / how to look for a PHP specific log file ?

See John Black's reply.  Forgot to ask you if there are any errors in System & 
Application event logs.

> 
> * Is PHP running as CGI/FCGI or ISAPI?
> A: Don't know. Where can I see which mode it is running ?

Did you setup PHP?  You don't remember how you configured it?  Is the PHP 
you're using an official distribution from PHP.net?  Or is it from someone else 
build it?

> 
> * Have you tried a simple phpinfo(); to see if PHP is running as configured?
> A: Yes I did, but http://127.0.0.1/.../phpinfo.php is not working because of 
> the 
> same problem.
> 
> Thanks for your time / effort.
> 
> 
> 
> -- 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] all local sites stopped working ...

2009-10-17 Thread John Black

cr.vege...@gmail.com wrote:
Where / how to look for a PHP specific log file ?


Inside php.ini is the option to specify a separate PHP log file
here is the setting for my main system (Linux)

error_log = /home/user/php_log.txt

Remember to restart your webserver after adjusting php.ini

EDIT: Sry, for the double post, I did not use reply all.
--
John
Gerechtigkeit entspringt dem Neid; denn ihr oberster Grundsatz ist:
Allen das Gleiche.
[Walther Rathenau]


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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - 
From: "Tommy Pham" 

To: 
Sent: Saturday, October 17, 2009 10:19 AM
Subject: Re: [PHP] all local sites stopped working ...


- Original Message 

From: "cr.vege...@gmail.com" 
To: Hanjie Xu 
Cc: php-general@lists.php.net
Sent: Sat, October 17, 2009 12:34:49 AM
Subject: Re: [PHP] all local sites stopped working ...

Yes, my web server is started.
I also did: Start - Run - IISRESET
and it says: Internet services successfully stopped, etc.
So I think that's not the problem.

  - Original Message - 
  From: Hanjie Xu

  To: cr.vege...@gmail.com
  Cc: php-general@lists.php.net
  Sent: Saturday, October 17, 2009 9:29 AM
  Subject: Re: [PHP] all local sites stopped working ...


  Is your Web Server started?


  2009/10/17

Hi All,

All my local PHP sites (http://127.0.0.1/... and http://localhost/...)
worked until today.
Now all these local sites don't work anymore.
The only difference since yesterday is running 16 Windows Updates.

I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
Can I set a php.ini setting to track down the problem ?
Or where else to look to solve this problem ?

Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT

Any help highly appreciated !!!

TIA, Cor
  -- 
  许汉杰


* Did you restart your system after windows update?
A: yes I did. After the restart this morning, the problem occurs.

* What's your ini settings regarding logging and start-up errors?
A: my php.ini has the following settings (not changed for a year):
   log_errors = On
   ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
   ;error_log = syslog
   ; fastcgi.log = 0
   define_syslog_variables  = Off
   display_startup_errors = On
   session.auto_start = 0

* Did you check PHP error log?
A: The only log files I can find are:
   C:\WINDOWS\system32\LogFiles\W3SVC1\ex091017.log with:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2009-10-17 08:20:06
#Fields: time c-ip cs-method cs-uri-stem sc-status
08:20:06 127.0.0.1 GET /.../favicon.ico 404
08:20:06 127.0.0.1 GET /.../favicon.ico 404
   C:\WINDOWS\Temp\WGAErrLog.txt (dated 17/10/2009) with:
   a repeated string of D446F964-596-80004005
Where / how to look for a PHP specific log file ?

* Is PHP running as CGI/FCGI or ISAPI?
A: Don't know. Where can I see which mode it is running ?

* Have you tried a simple phpinfo(); to see if PHP is running as configured?
A: Yes I did, but http://127.0.0.1/.../phpinfo.php is not working because of 
the same problem.


Thanks for your time / effort.



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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message 
> From: "cr.vege...@gmail.com" 
> To: Hanjie Xu 
> Cc: php-general@lists.php.net
> Sent: Sat, October 17, 2009 12:34:49 AM
> Subject: Re: [PHP] all local sites stopped working ...
> 
> Yes, my web server is started.
> I also did: Start - Run - IISRESET
> and it says: Internet services successfully stopped, etc.
> So I think that's not the problem.
> 
>   - Original Message - 
>   From: Hanjie Xu 
>   To: cr.vege...@gmail.com 
>   Cc: php-general@lists.php.net 
>   Sent: Saturday, October 17, 2009 9:29 AM
>   Subject: Re: [PHP] all local sites stopped working ...
> 
> 
>   Is your Web Server started?
> 
> 
>   2009/10/17 
> 
> Hi All,
> 
> All my local PHP sites (http://127.0.0.1/... and http://localhost/...) 
> worked until today.
> Now all these local sites don't work anymore.
> The only difference since yesterday is running 16 Windows Updates.
> 
> I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
> Can I set a php.ini setting to track down the problem ?
> Or where else to look to solve this problem ?
> 
> Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT
> 
> Any help highly appreciated !!!
> 
> TIA, Cor
>   -- 
>   许汉杰

* Did you restart your system after windows update?
* What's your ini settings regarding logging and start-up errors?  
* Did you check PHP error log?  
* Is PHP running as CGI/FCGI or ISAPI?  
* Have you tried a simple phpinfo(); to see if PHP is running as configured?

Regards,
Tommy


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



Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
Yes, my web server is started.
I also did: Start - Run - IISRESET
and it says: Internet services successfully stopped, etc.
So I think that's not the problem.

  - Original Message - 
  From: Hanjie Xu 
  To: cr.vege...@gmail.com 
  Cc: php-general@lists.php.net 
  Sent: Saturday, October 17, 2009 9:29 AM
  Subject: Re: [PHP] all local sites stopped working ...


  Is your Web Server started?


  2009/10/17 

Hi All,

All my local PHP sites (http://127.0.0.1/... and http://localhost/...) 
worked until today.
Now all these local sites don't work anymore.
The only difference since yesterday is running 16 Windows Updates.

I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
Can I set a php.ini setting to track down the problem ?
Or where else to look to solve this problem ?

Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT

Any help highly appreciated !!!

TIA, Cor



  -- 
  许汉杰


Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Hanjie Xu
Is your Web Server started?

2009/10/17 

> Hi All,
>
> All my local PHP sites (http://127.0.0.1/... and http://localhost/...)
> worked until today.
> Now all these local sites don't work anymore.
> The only difference since yesterday is running 16 Windows Updates.
>
> I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors.
> Can I set a php.ini setting to track down the problem ?
> Or where else to look to solve this problem ?
>
> Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, MySQL 5.0.15 NT
>
> Any help highly appreciated !!!
>
> TIA, Cor




-- 
许汉杰