Re: Connecting to EasyPHP (Apache) [message #171189 is a reply to message #171173] |
Wed, 29 December 2010 04:52 |
Jeremy J Starcher
Messages: 5 Registered: December 2010
Karma:
|
Junior Member |
|
|
On Tue, 28 Dec 2010 13:00:40 -0800, Charlie wrote:
> On Dec 27, 9:33 am, Jeremy J Starcher <r3...@yahoo.com> wrote:
>> On Fri, 24 Dec 2010 10:10:43 -0800, Charlie wrote:
>>> I have an HP HPE-450t running 64 bit Windows 7. I downloaded PHP/
>>> MySQL. In the system tray is an E and the bubble says “EasyPHP
>>> (Started)”.
>>
>>> In c:\Program Files (x86)\EasyPHP – 5.3.4.0\www there is a text file
>>> php1.php created with notepad containing only “<?php echo 123 ; ?>”.
>>
>>> When I type http://localhost/php1.phpinto the address bar of
>>> Internet Explorer Version 8.0.7600.16385 it says “Connecting” then
>>> “Internet Explorer cannot display this webpage.” If I click on
>>> Diagnose Connection Problems it says “The remote device or resource
>>> won’t accept the connection.”
>>
>> EasyPHP does not use port 80. The easiest way to find out where
>> EasyPHP is to move over the "E" icon down by your clock, bring up the
>> context menu and choose 'Browser Local Web.'
>
> Assuming you mean to right click, I get:
Right click is one way to bring up the context menu, if doing so with a
mouse (and not using a mouse where the buttons have been switched for a
left-handed user). It can also be brought up using the keyboard key for
context menus...
> If I click on Local Web it lists the one file name that I gave earlier
> php1.php
Yes.. it should say php1.php in the directory, but look at the address
bar. Your URL should say something like
http://localhost:8080/php1.php
Instead of the
http://localhost/php1.php
The *port* setting there is the key difference. As I stated before,
EasyPHP, out of the box, does not use the default port 80 -- so you have
to specify a port number in your URL.
|
|
|