Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why doesn't Windows know my php file???
#1
Heya SF,
This is what comes up when I see a php file and a try to open one, can someone tell me how to make Windows reconize php file?

[Image: adc4nn.png]


BTW, I am running Windows Vista Home edition.
Reply
#2
PHP files can be run over the Webbrowser, on windows you need to install apache server on your system in order to view php in motion on your http://localhost/
To open the file you'll need a editor that is made for writing php files.
Notepad++ is what I use.

Windows doesn't have software to handle php files, well you still can open it with any text editor but in most cases without any coder program like above mentioned one you can't open it with double clicking
unless you associate .php extention to some text editor manually
Reply
#3
(10-11-2009, 01:04 AM)NinjaGeek Wrote: PHP files can be run over the Webbrowser, on windows you need to install apache server on your system in order to view php in motion on your http://localhost/
To open the file you'll need a editor that is made for writing php files.
Notepad++ is what I use.

Windows doesn't have software to handle php files, well you still can open it with any text editor but in most cases without any coder program like above mentioned one you can't open it with double clicking
unless you associate .php extention to some text editor manually

Ok thanks, I have been wondering this for a while now.
Reply
#4
(10-11-2009, 01:08 AM)h4ckingURLife Wrote: Ok thanks, I have been wondering this for a while now.
no problem mate.

If you want to be able to view PHP files localy you can always download and install WAMP/XAMP, those are virtual servers that allow you running php code on your local system

edit: Thank you!
Reply
#5
you can also download php then it will run
hey, if you like my post then please give me +rep, it only takes two seconds but it will be greatly appreciated thanks!
Reply
#6
As above, you need to install the PHP interpreter before you can execute a PHP file, XAMPP and WAMP are easy options for doing this. The first topic of my PHP tutorial covers this http://www.supportforums.net/showthread.php?tid=335
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 956 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP edit file on server? Inventor 5 3,077 08-08-2012, 04:05 AM
Last Post: saikiran
  Use PHP in a text file? Blic 4 1,558 10-25-2011, 08:12 PM
Last Post: Project Evolution
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,705 10-10-2011, 01:00 PM
Last Post: Greyersting
  help : PHP : Executing .jar file killer_03 0 1,135 03-12-2011, 11:09 PM
Last Post: killer_03

Forum Jump:


Users browsing this thread: 1 Guest(s)