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: Problem Connecting to PHP [message #171098 is a reply to message #171095] Fri, 24 December 2010 19:20 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On 24/12/10 18:10, 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.php into 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.”
>
> Why?

Possibly because you don't have a web server that's integrated with the
php (or any web server at all).

You need a webserver of some sort running on the machine to handle http
requests. The webserver then has to know how to call the php handler for
web pages with php code.

At the moment you probably have php installed as a scripting language.
If you want to play with a php / apache / mysql environment, google for
"wamp" (Windows Apache Mysql Php)

Rgds

Denis McMahon
[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: Sun Nov 24 00:49:19 GMT 2024

Total time taken to generate the page: 0.05109 seconds