Page 1 of 1

PHP Not working

PostPosted: 03. September 2011 04:13
by Raas
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.

Re: PHP Not working

PostPosted: 03. September 2011 05:12
by Altrea
i hope you mean htdocs not htdoc
try http://localhost/test/test.php

Re: PHP Not working

PostPosted: 03. September 2011 05:45
by Raas
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.

Re: PHP Not working

PostPosted: 03. September 2011 06:12
by Raas
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.