Page 1 of 1

.php wont open in browser.

PostPosted: 18. September 2012 04:07
by paulde
I installed XAMPP 5.3.5. Then I went to http://localhost it sayed it installed sucsessfully. So I went to "htdocks" made a .php file, set up simple "hello world" script. Then I opened Firefox typed in the filename, and then the browser pops up a windo that says "save file" and it won't run the PHP code. I know this probably has a simple fix so any help would be great! Thanks!

Re: .php wont open in browser.

PostPosted: 18. September 2012 04:56
by hackattack142
I am not sure where you got that version number but there is no XAMPP version 5.3.5.

If you want to access a file, say file.php, in your htdocs folder, you need to put http://localhost/file.php in your browser.