PHP Not working

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

PHP Not working

Postby Raas » 03. September 2011 04:13

I really did do a search, but nothing. I have installed xampp as instructed. The control panel now shows Apache and MySQL as running. I go into the admin button for Apache and xampp for windows comes up at the welcome screen. I click on status and it shows MySQL database, PHP, HTTPS, as working. However, if I try to run a test php inside xampp I get the page not found error message 404. If I double click on a php script file such as index, I get the same thing. No object, error 404.

My xampp is installed in c:\xampp and I have put my test php inside as: c:\xampp\htdoc\test\test.php

When I run I use http://localhost/xampp/htdoc/test/test.php but no luck.

Any guidance would be appreciated.
Raas
 
Posts: 6
Joined: 03. September 2011 04:03

Re: PHP Not working

Postby Altrea » 03. September 2011 05:12

i hope you mean htdocs not htdoc
try http://localhost/test/test.php
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: PHP Not working

Postby Raas » 03. September 2011 05:45

Hmmmm...... A typo ........

I can't get PHP to work in order to save my test as a PHP.

I tried what you have. Still doesn't work. I have some other scripts from Xampp in that same htdocS folder and they won't run either.
Raas
 
Posts: 6
Joined: 03. September 2011 04:03

Re: PHP Not working

Postby Raas » 03. September 2011 06:12

Thank you. I finally found the answer and got it to work. For me it was uninstalling xampp, cleaning the registry and starting everything over again. Then it worked.
Raas
 
Posts: 6
Joined: 03. September 2011 04:03


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 41 guests