How to open .php files?

Asked By 200 points N/A Posted on -
qa-featured

I got a cd from a college friend of mine who said it contains his ideas for a profit making website, but it is full of files with the extension .php, how do I open these files on my computer?

SHARE
Best Answer by michaelpeters
Answered By 0 points N/A #86880

How to open .php files?

qa-featured

To view .php files on your computer, which I am assuming is a PC, you need to install a web server, I would suggest the Apache web server, because it is free and readily available, you can download this at http://mirror.csclub.uwaterloo.ca/apache/ and then install PHP which is also free at http://in3.php.net/get/php-5.2.17.tar.bz2/from/a/mirror, once installed, you can then copy the files to the .httdocs folder in the install directory of Apache and you should be able to open the files.

Answered By 200 points N/A #86881

How to open .php files?

qa-featured

Ok, tried that, not having lot of luck still, I think php is not installing correctly, Apache works fine, I opened the test page included in the install package, that worked, but I still cannot open the php files even after copying to httdocs directory, any ideas? My PC runs windows 7.

Best Answer
Best Answer
Answered By 0 points N/A #86883

How to open .php files?

qa-featured

If you are having problems with installing those Tom, try Xampp, its a web server and php engine, MySQl database and PERL engine bundled into one, its much more straightforward and easier to install than installing each component one at a time, their webpage is:  http://www.apachefriends.org/en/xampp.html.  try and install to your drive root e.g. c:xampp instead of to the programs director, once installed, copy your file to the httdoc directory in your install folder (e.g. c:xampp) and you should be able to open the files.

Login/Register to Answer

Related Questions