all local sites stopped working ...
all local sites stopped working ...
am 17.10.2009 09:22:21 von cr.vegelin
------=_NextPart_000_0005_01CA4F0B.549C1470
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
------=_NextPart_000_0005_01CA4F0B.549C1470--
Re: all local sites stopped working ...
am 17.10.2009 09:29:49 von Hanjie Xu
--000e0cd299d4720b9704761c7b48
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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
--=20
许æ±æ°
--000e0cd299d4720b9704761c7b48--
Re: all local sites stopped working ...
am 17.10.2009 09:34:49 von cr.vegelin
------=_NextPart_000_0086_01CA4F0D.1246F610
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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 -----=20
From: Hanjie Xu=20
To: cr.vegelin@gmail.com=20
Cc: php-general@lists.php.net=20
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
--=20
许æ±æ°
------=_NextPart_000_0086_01CA4F0D.1246F610--
Re: all local sites stopped working ...
am 17.10.2009 10:19:27 von Tommy Pham
----- Original Message ----=0A> From: "cr.vegelin@gmail.com"
ail.com>=0A> To: Hanjie Xu =0A> Cc: php-general@lists.ph=
p.net=0A> Sent: Sat, October 17, 2009 12:34:49 AM=0A> Subject: Re: [PHP] al=
l local sites stopped working ...=0A> =0A> Yes, my web server is started.=
=0A> I also did: Start - Run - IISRESET=0A> and it says: Internet services =
successfully stopped, etc.=0A> So I think that's not the problem.=0A> =0A> =
----- Original Message ----- =0A> From: Hanjie Xu =0A> To: cr.vegelin=
@gmail.com =0A> Cc: php-general@lists.php.net =0A> Sent: Saturday, Octo=
ber 17, 2009 9:29 AM=0A> Subject: Re: [PHP] all local sites stopped worki=
ng ...=0A> =0A> =0A> Is your Web Server started?=0A> =0A> =0A> 2009/10/=
17 =0A> =0A> Hi All,=0A> =0A> All my local PHP sites (http://127.0.=
0.1/... and http://localhost/...) =0A> worked until today.=0A> Now all =
these local sites don't work anymore.=0A> The only difference since yes=
terday is running 16 Windows Updates.=0A> =0A> I checked C:\WINDOWS\sys=
tem32\LogFiles\W3SVC1\... but no errors.=0A> Can I set a php.ini settin=
g to track down the problem ?=0A> Or where else to look to solve this p=
roblem ?=0A> =0A> Configuration: Windows XP SP3, PHP 5.2.0, IIS 5.1, My=
SQL 5.0.15 NT=0A> =0A> Any help highly appreciated !!!=0A> =0A> TIA=
, Cor=0A> -- =0A> 许æ±æ°
=0A* Did you restart yo=
ur system after windows update?=0A* What's your ini settings regarding logg=
ing and start-up errors? =0A* Did you check PHP error log? =0A* Is PHP ru=
nning as CGI/FCGI or ISAPI? =0A* Have you tried a simple phpinfo(); to see=
if PHP is running as configured?
Regards,=0ATommy=0A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: all local sites stopped working ...
am 17.10.2009 11:00:25 von 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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 11:08:11 von Skylinux
> cr.vegelin@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: all local sites stopped working ...
am 17.10.2009 11:23:45 von Tommy Pham
---- Original Message ----=0A> From: "cr.vegelin@gmail.com"
il.com>=0A> To: Tommy Pham ; php-general@lists.php.net=
=0A> Sent: Sat, October 17, 2009 2:00:25 AM=0A> Subject: Re: [PHP] all loca=
l sites stopped working ...=0A> =0A> ----- Original Message ----- From: "To=
mmy Pham" =0A> To: =0A> Sent: Saturday, October 17, 2009 10:19 AM=0A> Subje=
ct: Re: [PHP] all local sites stopped working ...=0A> =0A> =0A> ----- Origi=
nal Message ----=0A> > From: "cr.vegelin@gmail.com" =0A> > To: Hanjie Xu =
=0A> > Cc: php-general@lists.php.net=0A> > Sent: Sat, October 17, 2009 12:3=
4:49 AM=0A> > Subject: Re: [PHP] all local sites stopped working ...=0A> > =
=0A> > Yes, my web server is started.=0A> > I also did: Start - Run - IISRE=
SET=0A> > and it says: Internet services successfully stopped, etc.=0A> > S=
o I think that's not the problem.=0A> > =0A> > ----- Original Message ---=
-- From: Hanjie Xu=0A> > To: cr.vegelin@gmail.com=0A> > Cc: php-gener=
al@lists.php.net=0A> > Sent: Saturday, October 17, 2009 9:29 AM=0A> > S=
ubject: Re: [PHP] all local sites stopped working ...=0A> > =0A> > =0A> > =
Is your Web Server started?=0A> > =0A> > =0A> > 2009/10/17=0A> > =0A> > =
Hi All,=0A> > =0A> > All my local PHP sites (http://127.0.0.1/... a=
nd http://localhost/...)=0A> > worked until today.=0A> > Now all these =
local sites don't work anymore.=0A> > The only difference since yesterd=
ay is running 16 Windows Updates.=0A> > =0A> > I checked C:\WINDOWS\sys=
tem32\LogFiles\W3SVC1\... but no errors.=0A> > Can I set a php.ini sett=
ing to track down the problem ?=0A> > Or where else to look to solve th=
is problem ?=0A> > =0A> > Configuration: Windows XP SP3, PHP 5.2.0, IIS=
5.1, MySQL 5.0.15 NT=0A> > =0A> > Any help highly appreciated !!!=0A> =
> =0A> > TIA, Cor=0A> > -- 许æ±æ°
> =0A> * D=
id you restart your system after windows update?=0A> A: yes I did. After th=
e restart this morning, the problem occurs.=0A> =0A> * What's your ini sett=
ings regarding logging and start-up errors?=0A> A: my php.ini has the follo=
wing settings (not changed for a year):=0A> log_errors =3D On=0A> ; L=
og errors to syslog (Event Log on NT, not valid in Windows 95).=0A> ;err=
or_log =3D syslog=0A> ; fastcgi.log =3D 0=0A> define_syslog_variables=
=3D Off=0A> display_startup_errors =3D On=0A> session.auto_start =
=3D 0=0A> =0A> * Did you check PHP error log?=0A> A: The only log files I c=
an find are:=0A> C:\WINDOWS\system32\LogFiles\W3SVC1\ex091017.log with:=
=0A> #Software: Microsoft Internet Information Services 5.1=0A> =
#Version: 1.0=0A> #Date: 2009-10-17 08:20:06=0A> #Fiel=
ds: time c-ip cs-method cs-uri-stem sc-status=0A> 08:20:06 127.0.0.=
1 GET /.../favicon.ico 404=0A> 08:20:06 127.0.0.1 GET /.../favicon.=
ico 404=0A> C:\WINDOWS\Temp\WGAErrLog.txt (dated 17/10/2009) with:=0A> =
a repeated string of D446F964-596-80004005=0A> Where / how to look fo=
r a PHP specific log file ?
See John Black's reply. Forgot to ask you=
if there are any errors in System & Application event logs.
> =0A> * =
Is PHP running as CGI/FCGI or ISAPI?=0A> A: Don't know. Where can I see whi=
ch 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?
> =0A> * Have you tried a s=
imple phpinfo(); to see if PHP is running as configured?=0A> A: Yes I did, =
but http://127.0.0.1/.../phpinfo.php is not working because of the =0A> sam=
e problem.=0A> =0A> Thanks for your time / effort.=0A> =0A> =0A> =0A> -- PH=
P General Mailing List (http://www.php.net/)=0A> To unsubscribe, visit: htt=
p://www.php.net/unsub.php=0A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: all local sites stopped working ...
am 17.10.2009 11:44:32 von 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.vegelin@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: all local sites stopped working ...
am 17.10.2009 11:53:03 von 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.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 11:53:26 von Skylinux
cr.vegelin@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: all local sites stopped working ...
am 17.10.2009 11:54:04 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 12:17:22 von 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.vegelin@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: all local sites stopped working ...
am 17.10.2009 12:21:18 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 12:57:48 von 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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:00:24 von 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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:02:14 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:08:49 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:19:17 von 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.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:29:47 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:33:02 von 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.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:35:08 von Tommy Pham
----- Original Message ----
> From: "cr.vegelin@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.vegelin@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.vegelin@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.vegelin@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: all local sites stopped working ...
am 17.10.2009 13:49:53 von 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.vegelin@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.vegelin@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.vegelin@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.vegelin@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?
A: yes, I did restart IIS after every change in php.ini
> 2) run 'netstat -ano' without the single quote in the command prompt and
> show me what you see.
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 848
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1950 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1544
TCP 127.0.0.1:80 127.0.0.1:1952 CLOSE_WAIT 1808
TCP 127.0.0.1:80 127.0.0.1:1954 CLOSE_WAIT 1808
TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 1352
TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2940
TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 3960
TCP 127.0.0.1:1288 127.0.0.1:1025 CLOSE_WAIT 908
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1116
TCP 192.168.1.33:139 0.0.0.0:0 LISTENING 4
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 612
UDP 0.0.0.0:1026 *:* 1116
UDP 0.0.0.0:3456 *:* 1808
UDP 0.0.0.0:4500 *:* 612
UDP 127.0.0.1:123 *:* 916
UDP 127.0.0.1:1900 *:* 1088
UDP 127.0.0.1:1909 *:* 524
UDP 192.168.1.33:123 *:* 916
UDP 192.168.1.33:137 *:* 4
UDP 192.168.1.33:138 *:* 4
UDP 192.168.1.33:1900 *:* 1088
UDP 192.168.1.33:5353 *:* 1116
> 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
A: That works okay !!
> 4) Did you check to see if there are any errors in the System and
> Application event logs?
A: I found C:Windows\EventSystem.log (modified 30/09/2007)
And C:Windows\WindowsUpdate.log with (modified 17/10/2009); I will check
this one ...
Thanks a lot, Tommy !
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: all local sites stopped working ...
am 17.10.2009 14:03:25 von Tommy Pham
--0-774188807-1255781005=:8444
Content-Type: text/plain; charset=us-ascii
From: "cr.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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?
A: yes, I did restart IIS after every change in php.ini
> 2) run 'netstat -ano' without the single quote in the command prompt and show me what you see.
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 848
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1950 0.0.0.0:0 LISTENING 1808
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1544
TCP 127.0.0.1:80 127.0.0.1:1952 CLOSE_WAIT 1808
TCP 127.0.0.1:80 127.0.0.1:1954 CLOSE_WAIT 1808
TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 1352
TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2940
TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 3960
TCP 127.0.0.1:1288 127.0.0.1:1025 CLOSE_WAIT 908
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1116
TCP 192.168.1.33:139 0.0.0.0:0 LISTENING 4
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 612
UDP 0.0.0.0:1026 *:* 1116
UDP 0.0.0.0:3456 *:* 1808
UDP 0.0.0.0:4500 *:* 612
UDP 127.0.0.1:123 *:* 916
UDP 127.0.0.1:1900 *:* 1088
UDP 127.0.0.1:1909 *:* 524
UDP 192.168.1.33:123 *:* 916
UDP 192.168.1.33:137 *:* 4
UDP 192.168.1.33:138 *:* 4
UDP 192.168.1.33:1900 *:* 1088
UDP 192.168.1.33:5353 *:* 1116
> 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
A: That works okay !!
> 4) Did you check to see if there are any errors in the System and Application event logs?
A: I found C:Windows\EventSystem.log (modified 30/09/2007)
And C:Windows\WindowsUpdate.log with (modified 17/10/2009); I will check this one ...
Thanks a lot, Tommy !
T>> You'll need to view the logs in the Event Viewer.
--0-774188807-1255781005=:8444--
Re: all local sites stopped working ... [SOLVED]
am 17.10.2009 14:20:04 von 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.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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?
> A: yes, I did restart IIS after every change in php.ini
>
>> 2) run 'netstat -ano' without the single quote in the command prompt and
>> show me what you see.
> Active Connections
>
> Proto Local Address Foreign Address State PID
> TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 848
> TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
> TCP 0.0.0.0:1950 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1544
> TCP 127.0.0.1:80 127.0.0.1:1952 CLOSE_WAIT 1808
> TCP 127.0.0.1:80 127.0.0.1:1954 CLOSE_WAIT 1808
> TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 1352
> TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2940
> TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 3960
> TCP 127.0.0.1:1288 127.0.0.1:1025 CLOSE_WAIT 908
> TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1116
> TCP 192.168.1.33:139 0.0.0.0:0 LISTENING 4
> UDP 0.0.0.0:445 *:* 4
> UDP 0.0.0.0:500 *:* 612
> UDP 0.0.0.0:1026 *:* 1116
> UDP 0.0.0.0:3456 *:* 1808
> UDP 0.0.0.0:4500 *:* 612
> UDP 127.0.0.1:123 *:* 916
> UDP 127.0.0.1:1900 *:* 1088
> UDP 127.0.0.1:1909 *:* 524
> UDP 192.168.1.33:123 *:* 916
> UDP 192.168.1.33:137 *:* 4
> UDP 192.168.1.33:138 *:* 4
> UDP 192.168.1.33:1900 *:* 1088
> UDP 192.168.1.33:5353 *:* 1116
>
>> 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
> A: That works okay !!
>
>> 4) Did you check to see if there are any errors in the System and
>> Application event logs?
> A: I found C:Windows\EventSystem.log (modified 30/09/2007)
> And C:Windows\WindowsUpdate.log with (modified 17/10/2009); I will check
> this one ...
>
> T>> You'll need to view the logs in the Event Viewer.
I restarted Windows, and guess what, the problem is gone.
Don't know what caused it, but it's working again.
Thanks again and have a nice weekend !!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: all local sites stopped working ... [SOLVED]
am 17.10.2009 18:52:38 von HallMarc Websites
-----Original Message-----
From: cr.vegelin@gmail.com [mailto:cr.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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?
> A: yes, I did restart IIS after every change in php.ini
>
>> 2) run 'netstat -ano' without the single quote in the command prompt and
>> show me what you see.
> Active Connections
>
> Proto Local Address Foreign Address State PID
> TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 848
> TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
> TCP 0.0.0.0:1950 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1544
> TCP 127.0.0.1:80 127.0.0.1:1952 CLOSE_WAIT 1808
> TCP 127.0.0.1:80 127.0.0.1:1954 CLOSE_WAIT 1808
> TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 1352
> TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2940
> TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 3960
> TCP 127.0.0.1:1288 127.0.0.1:1025 CLOSE_WAIT 908
> TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1116
> TCP 192.168.1.33:139 0.0.0.0:0 LISTENING 4
> UDP 0.0.0.0:445 *:* 4
> UDP 0.0.0.0:500 *:* 612
> UDP 0.0.0.0:1026 *:* 1116
> UDP 0.0.0.0:3456 *:* 1808
> UDP 0.0.0.0:4500 *:* 612
> UDP 127.0.0.1:123 *:* 916
> UDP 127.0.0.1:1900 *:* 1088
> UDP 127.0.0.1:1909 *:* 524
> UDP 192.168.1.33:123 *:* 916
> UDP 192.168.1.33:137 *:* 4
> UDP 192.168.1.33:138 *:* 4
> UDP 192.168.1.33:1900 *:* 1088
> UDP 192.168.1.33:5353 *:* 1116
>
>> 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
> A: That works okay !!
>
>> 4) Did you check to see if there are any errors in the System and
>> Application event logs?
> A: I found C:Windows\EventSystem.log (modified 30/09/2007)
> And C:Windows\WindowsUpdate.log with (modified 17/10/2009); I will check
> this one ...
>
> T>> You'll need to view the logs in the Event Viewer.
I restarted Windows, and guess what, the problem is gone.
Don't know what caused it, but it's working again.
Thanks again and have a nice weekend !!!
This sounds like you had a Windows Update applied and the system needed a
reboot to complete the patch.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from ESET Smart Security, version of virus signature
database 4517 (20091017) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature
database 4518 (20091017) __________
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: all local sites stopped working ... [SOLVED]
am 14.12.2009 13:06:55 von angelo
-----Original Message-----
From: cr.vegelin@gmail.com [mailto:cr.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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.vegelin@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?
> A: yes, I did restart IIS after every change in php.ini
>
>> 2) run 'netstat -ano' without the single quote in the command prompt and
>> show me what you see.
> Active Connections
>
> Proto Local Address Foreign Address State PID
> TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 848
> TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
> TCP 0.0.0.0:1950 0.0.0.0:0 LISTENING 1808
> TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 1544
> TCP 127.0.0.1:80 127.0.0.1:1952 CLOSE_WAIT 1808
> TCP 127.0.0.1:80 127.0.0.1:1954 CLOSE_WAIT 1808
> TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING 1352
> TCP 127.0.0.1:1029 0.0.0.0:0 LISTENING 2940
> TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 3960
> TCP 127.0.0.1:1288 127.0.0.1:1025 CLOSE_WAIT 908
> TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1116
> TCP 192.168.1.33:139 0.0.0.0:0 LISTENING 4
> UDP 0.0.0.0:445 *:* 4
> UDP 0.0.0.0:500 *:* 612
> UDP 0.0.0.0:1026 *:* 1116
> UDP 0.0.0.0:3456 *:* 1808
> UDP 0.0.0.0:4500 *:* 612
> UDP 127.0.0.1:123 *:* 916
> UDP 127.0.0.1:1900 *:* 1088
> UDP 127.0.0.1:1909 *:* 524
> UDP 192.168.1.33:123 *:* 916
> UDP 192.168.1.33:137 *:* 4
> UDP 192.168.1.33:138 *:* 4
> UDP 192.168.1.33:1900 *:* 1088
> UDP 192.168.1.33:5353 *:* 1116
>
>> 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
> A: That works okay !!
>
>> 4) Did you check to see if there are any errors in the System and
>> Application event logs?
> A: I found C:Windows\EventSystem.log (modified 30/09/2007)
> And C:Windows\WindowsUpdate.log with (modified 17/10/2009); I will check
> this one ...
>
> T>> You'll need to view the logs in the Event Viewer.
I restarted Windows, and guess what, the problem is gone.
Don't know what caused it, but it's working again.
Thanks again and have a nice weekend !!!
LOL!
Typical windows, maybe next time try that first and look for other solutions
afterward that doesn't work!
Angelo
http://www.elemental.co.za
http://www.wapit.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php