Re: all local sites stopped working ...
| From: | Tommy Pham | Date: | Sat, 17 Oct 2009 10:21:18 +0000 |
| Subject: | Re: all local sites stopped working ... | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299002@lists.php.net to get a copy of this message | ||
----- Original Message ----
> From: "cr.vegelin@gmail.com" <cr.vegelin@gmail.com>
> To: John Black <spam@network-technologies.org>
> 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