FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem Connecting to PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Connecting to EasyPHP (Apache) [message #171230 is a reply to message #171189] Wed, 29 December 2010 18:26 Go to previous messageGo to previous message
Charlie is currently offline  Charlie
Messages: 17
Registered: December 2010
Karma:
Junior Member
On Dec 28, 11:52 pm, Jeremy J Starcher <r3...@yahoo.com> wrote:
> 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

http://localhost:8080/php1.php

gave me the same result - cannot display, won't accept.

Charlie

> 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.- Hide quoted text -
>
> - Show quoted text -
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP code for automated tracking
Next Topic: initial value
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 11:07:46 GMT 2024

Total time taken to generate the page: 0.04409 seconds