php in firefox and chrome

0 jurgen wolf · February 24, 2015
Im using apche2 on my linux machine

right now im playing with some code  which i save in my index.php file

my index.php file is located in here

/var/www/html/ index.php

if i type in localhost in firefox everything works as it should

if i type in localhost in chrome a different index.php file pops up (which i created a while back)

the strange thing is this file that pops up in chrome isnt even in that folder /var/www/html/ 

whats goin on here??



Post a Reply

Replies

- page 2
Oldest  Newest  Rating
0 Nitin Pathak · February 25, 2015
check apache (httpd.conf) file 
aned search for document root ...I think you may have changed it to other folder
change the path to the folder you want to open as default
  • 1
  • 2

PHP

107,177 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators