Page 1 of 1

PHP not working with 1.8.1 Xampp install.

PostPosted: 18. May 2013 10:27
by Bargleman3
Hey (sorry if i am doing something drastically wrong in posting this, I'm new),

I have an installation of 1.8.1 Xampp on windows 8 (on local disk: C:\xampp), it all seems to be fine with Apache and MySQL seemingly working fine and giving access to "localhost".

The only problem is that when i try and run the index.php (in htdocs) or a .php file, with even the simplest of code, I get: "Something is wrong with the XAMPP installation :-( "

I have only edited the date/timezone, otherwise it is a fresh install.

I am wondering if anyone has had this problem and has found a fix for it. (after numerous hours of searching and trying things I have found no fix)

Thank you for your time,
Bargleman3

Re: PHP not working with 1.8.1 Xampp install.

PostPosted: 18. May 2013 11:09
by Nobbie
You *must* *not* double click on index.php, but enter http://localhost/index.php into your browser (or simply click this link).

Double clicking is horribly wrong for *.html as well, but it "seems" to work correctly, but is does not, you have to enter as well http://localhost/blabla.html in order to request HTML files from Apache.

If you double click files, this is a request to the Kernel / Filesystem, NOT to your local Webserver (but Xampp is as webserver). You dont need Webservers if you simply double click files.

Re: PHP not working with 1.8.1 Xampp install.

PostPosted: 18. May 2013 11:21
by Bargleman3
THANK YOU SO MUCH! Sorry for being such a noob and clogging up your forum with stupid questions...