no php execute on test

Problems with the Windows version of XAMPP, questions, comments, and anything related.

no php execute on test

Postby blazerfan » 07. January 2008 18:07

Ok sorry if the answer is somewhere else I tried searching but too much stuff came up. Here is my deal I am running windows Vista and xampp installed nicely. After several hours of reading I now have 5 test sites running under htdocs under my local host.
However I was attempting to learn PHP:
I did the Hello World everyone learns at first and tried placing the helloworld.php in the root htdocs.
opened Firefox 2.2 and typed in helloworld got 404 error, same if I try localhost/helloworld even decide to try it under one of my working websites failed to work
[list]Same if I run IE7 am completely able to type in either browser loclhast and have the main xampp window comes up as it should and it says PHP is running.
I am now baffeled. I tried Notepad++4.7 save the file as *php, I also tried a trial version of PHP Desinger Pro which the script/file I created does run on it's own internal server apparently and says "Hello World" like you would expect.
Any ideas? I have read some things that hint to needing to modify the php.ini-recomended file and download som other patch for some php5 dll's?
Mark
autolookgood.com
mobile detailer-webgeek
blazerfan
 
Posts: 2
Joined: 07. January 2008 17:14
Location: Washington

Postby Wiedmann » 07. January 2008 18:13

same if I try localhost/helloworld

You mean http://localhost/helloworld.php :?:
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

PHP not running hello world

Postby blazerfan » 07. January 2008 18:28

Man I am learning how every little thing makes a difference.

I am so used to calling up websites not files and that was it the whole time.

Thanks I feel like an idiot... :roll:
I wasn't typing in the whole helloworld.php I was just typing in
localhost/helloworld
Mark
autolookgood.com
mobile detailer-webgeek
blazerfan
 
Posts: 2
Joined: 07. January 2008 17:14
Location: Washington


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 193 guests