Page 1 of 1

How to get PHP to run

PostPosted: 01. October 2008 08:41
by Murph
Hi. Excuse me that i dont speak German. I am new to Apache and i have installed it on my computer as i was giving the link to apachefriends. The instruction say i should run the php files in htdocs folder of the php folder. There is a index.php to try out. But when i double click on it it just asks me to save the file (it doesn't recognise the php file extension).

What i am doing wrong. Hope someone can help.

Gerry

PostPosted: 01. October 2008 08:52
by Wiedmann
There is a index.php to try out. But when i double click on it it just asks me to save the file (it doesn't recognise the php file extension).

You can't double click a PHP file. Yuo must open them with "http://localhost/filename.php" in a webbrowser.

PostPosted: 01. October 2008 10:07
by Murph
Hi,
thank for your reply. But i still don't know how to do that. I tried opening it with IE7 but it still asks me to save the file. Do i have to install PHP. Was that not done when i installed XAMPP.

Hope you can help.

Gerry

PostPosted: 01. October 2008 10:22
by Wiedmann
I tried opening it with IE7

How exactly?

BTW:
Was that not done when i installed XAMPP.

You have read " readme_en.txt"?

PostPosted: 01. October 2008 10:24
by ospx
I guess, you forgot to start your xampp first.

PostPosted: 01. October 2008 12:08
by glitzi85
ospx wrote:I guess, you forgot to start your xampp first.

I guess, then he would get the error message that his browser can not connect to the server 8)

PostPosted: 01. October 2008 13:49
by Murph
Thanks for your help. I didn't read readme.txt and didn't realise that you have to type http://localhost before the php file would work. It works now. Thanks a mil! Apologis for silly question.

Regards,
Gerry