Page 1 of 1

xampp setup - php not recognized?

PostPosted: 26. June 2007 17:58
by jaybart
installed xampp, started apache server, it seems to be accessing files from C:\Inetpub\wwwroot... so I add a test.php file in there and attempt to access it - firefox prompts me to download the file... why is PHP not running?

Also, why is it starting at C:\Inetpub\wwwroot and not C:\xampp\htdocs?

Thanks

PostPosted: 26. June 2007 18:51
by Wiedmann
Also, why is it starting at C:\Inetpub\wwwroot and not C:\xampp\htdocs?

Because Apache from XAMPP is not running.
(The current running webserver must be IIS with this Documentroot)

PostPosted: 26. June 2007 18:58
by jaybart
I don't quite understand, the document root is set to C:\xampp\htdocs in the httpd.conf file, and I am starting Apache via XAMPP Control Panel. So how could Apache from XAMPP not be running?

Thanks, appreciate the help

PostPosted: 26. June 2007 19:12
by Wiedmann
and I am starting Apache

Really, you have verified this with e.g. "xampp_portcheck.exe" or the task manager?

PostPosted: 27. June 2007 06:44
by kschroeder
Andy please check your services, I suppose there's still running the IIS service. You have to stop this service and prevent it being started automatically.