index.php page in root folder does not display

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

index.php page in root folder does not display

Postby basireid » 06. May 2010 18:13

hello again....

Xampp seems to be working, yet, when clicking on the index.php page in the htdocs folder, the code shows up along with this

Something is wrong with the XAMPP installation :-(

yet, the Admin pages display correctly, along with the supplied phpinfo() and the aspinfo() - from this page - http://localhost/xampp/

even changing the code of the index.php page still shows the code itself and not what is supposed to run...

if there is a comprehensive manual or instructional file other then the FAQ's i have seen i would like to know

http://www.apachefriends.org/en/faq-xampp-windows.html

the above page is not nearly enough info....

does anyone know of a manual?
basireid
 
Posts: 4
Joined: 05. May 2010 00:10

Re: index.php page in root folder does not display

Postby Altrea » 06. May 2010 18:23

how do you access the index.php file in htdocs?
double-click on it or directly open with a browser doesn't work, because php code must run through the php-parser first!

http://localhost/ routes you directly to your htdocs folder. so, if you type http://localhost/index.php in your browser, index.php in htdocs should be displayed correctly (respectively the index.php file redirects you automatically to the xampp backend).
Last edited by Altrea on 08. June 2010 06:27, edited 1 time in total.
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: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: index.php page in root folder does not display

Postby basireid » 06. May 2010 18:31

alright typing in the page link does the trick

thanks

now i got to get the asp pages to display correctly and i can start the work i have, (helping a programmer to gain much needed experience)

but thanks for the help so far...
basireid
 
Posts: 4
Joined: 05. May 2010 00:10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests