Jump to content

PHP On My Little Home Computer


Recommended Posts

Has Anyone Got Any Links Or Downloads So That I Can Have PHP On "My Little Home Computer" Which Is Running Windows XP

As Currently When I Try And View A PHP File On Any Of My Hard Disk Or CD Drive Or Anything It Says It Does "Not Recognise The File Select An Appriate Program Or Use The Web Service To Find A Program"

So I Have To Upload It To My Free Web Host Just To View The File

ANY HELP PLEASE
THANKS
Link to comment
Share on other sites

You cannot run .php files by "double clicking" them, like you can with .html or .exe files for example. You have to move it to you servers document root and then go to http://localhost/ to run the php file. PHP is a server side programming language and thus requires to be run in a server setup. Or you can run then via the command line.

You can install Apache (the server) and PHP on your PC locally. Read [url=http://www.phpfreaks.com/forums/index.php/topic,120152.msg492660.html#msg492660]this[/url] post of mine to do so. Or you can go the lazy root and install one of those horrid all-in-one installations over at wampserver.com or xampp.com
Link to comment
Share on other sites

[quote author=tarun link=topic=124015.msg514728#msg514728 date=1169905354]
[quote author=jvrothjr link=topic=124015.msg513448#msg513448 date=1169755194]
Are you looking to view the CODE or the output of the code
[/quote]

The Output Thanks
To View The CODE Ive Got My Trusty Old EditPlus TextEditor
[/quote]
Then read my post I made above. Which was this:
[quote author=wildteen88 link=topic=124015.msg513454#msg513454 date=1169755493]
You cannot run .php files by "double clicking" them, like you can with .html or .exe files for example. You have to move it to you servers document root and then go to http://localhost/ to run the php file. PHP is a server side programming language and thus requires to be run in a server setup. Or you can run then via the command line.

You can install Apache (the server) and PHP on your PC locally. Read [url=http://www.phpfreaks.com/forums/index.php/topic,120152.msg492660.html#msg492660]this[/url] post of mine to do so. Or you can go the lazy root and install one of those horrid all-in-one installations over at wampserver.com or xampp.com
[/quote]
Link to comment
Share on other sites

[quote author=tarun link=topic=124015.msg515497#msg515497 date=1170007113]
thanks for your help but im afraid im only 12 so im not sure my Dad would approve

thanks anyway
your help was greatly appreciated and valued
[/quote]
If you want to run your PHP files on your PC then you need to install Apache and PHP! There is no other way.
Link to comment
Share on other sites

[quote author=wildteen88 link=topic=124015.msg513454#msg513454 date=1169755493]
You cannot run .php files by "double clicking" them, like you can with .html or .exe files for example. You have to move it to you servers document root and then go to http://localhost/ to run the php file. PHP is a server side programming language and thus requires to be run in a server setup. Or you can run then via the command line.

You can install Apache (the server) and PHP on your PC locally. Read [url=http://www.phpfreaks.com/forums/index.php/topic,120152.msg492660.html#msg492660]this[/url] post of mine to do so. Or you can go the lazy root and install one of those horrid all-in-one installations over at wampserver.com or xampp.com
[/quote]

that is not true. php comes with an executable that can execute php files
Link to comment
Share on other sites

[quote author=Nameless12 link=topic=124015.msg516344#msg516344 date=1170100682]
[quote author=wildteen88 link=topic=124015.msg513454#msg513454 date=1169755493]
You cannot run .php files by "double clicking" them, like you can with .html or .exe files for example. You have to move it to you servers document root and then go to http://localhost/ to run the php file. PHP is a server side programming language and thus requires to be run in a server setup. Or you can run then via the command line.

You can install Apache (the server) and PHP on your PC locally. Read [url=http://www.phpfreaks.com/forums/index.php/topic,120152.msg492660.html#msg492660]this[/url] post of mine to do so. Or you can go the lazy root and install one of those horrid all-in-one installations over at wampserver.com or xampp.com
[/quote]

that is not true. php comes with an executable that can execute php files
[/quote]
Yeah if you like to use the command line!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.