Click to See Complete Forum and Search --> : Help! And I Know You All Can Help
SomeRandomGuy
06-25-2004, 02:28 PM
Well, I try and open a .php document on my computer, and nothing happens.. do I need to install a program or something?
I can open all my .html .shtml etc. etc. but not .php! Can anyone help :confused:
Daniel T
06-25-2004, 04:11 PM
If you want to run PHP scripts on your computer, you will need to install the necessary software needed to parse the PHP. To run PHP scripts on your computer, you will need an HTTP web server (such as Abyss or Apache -- I'm too lazy to get all the URI's, so just Google them ;)), and you will need the PHP binaries (found at http://www.php.net/). Once you download the necessary files, follow the installation guides included in the downloads, and when all is said and done, you should be able to run PHP scripts off of your computer :)
shimon
06-28-2004, 04:29 AM
Hmm...unless he just means he can't even open the file to look at the source code? Is that it SRG?
Cos if that's it then you're probably running windows but don't have an application registered to handle .php files.
You would have to ask a windows user to confirm this, but I think it's something like Right-click -> open with and then choose your favourite editor.
Nevermore
06-28-2004, 04:36 AM
If you are looking to preview .php files, configuring Apache, PHP and MySQL can be hard, so I recommend EasyPHP (http://www.easyphp.org/) which does it all for you.