View Full Version: trouble displaying php file

MPAM Rebooted Forums > Tutorials & help > trouble displaying php file


Title: trouble displaying php file


vinfang - September 30, 2006 03:56 PM (GMT)
I'm currently on the php installation, where you create a test php file to see if it works. I'm pretty sure I followed all the instructions, and when I type in the http://127.0.0.1:80/index.php it tells me it cannot be found

if I go to http://127.0.0.1:80, I get the directory of all the files, and it views the index.php as a index.php.txt file. Is there anything I'm doing wrong?

Extra information if this helps, I chose to use :80 for all users, I'm using apache 2.0.59,
and I'm using PHP-5.1.6-win32. I couldn't find a older version on the php site, so I had to use this one. The only other version was php4

patheticcockroach - October 1, 2006 08:54 PM (GMT)
Hi,

I think this problem has nothing to do with Apache or PHP (any PHP 5 version should work fine by the way).
See here how to configure your Windows explorer so that it shows file extensions : you created a file named index.php.txt instead of index.php, which is why no index.php file can be found.

Regards




Hosted for free by InvisionFree