XAMPP won't run other php files other than its own index.php

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

XAMPP won't run other php files other than its own index.php

Postby cladd118 » 18. January 2014 01:04

I'm trying to run an php-based api utility created by my company. I had to set XAMPP to listen on port 8080 to work around the ISS port 80 issue (apache does execute). I understand the server directory is /xampp/htdocs and when I type http://localhost:8080/xampp/index.php the "XAMPP for WINDOWS" page opens and works. However XAMPP can not find any other objects to be recognized in /htdocs. Just to test this I've created a test.php (extremely simple "Hello World"), type http://localhost:8080/xampp/test.php ,and I get the below. I've even copied XAMPP's default index.php, named it index1.php, type http://localhost:8080/xampp/index1.php and still Object not found. I've opened all options in Apache's httpd.conf DocumentRoot <Directory/> setting (desperate move), no luck. Any ideas??

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22
Posts: 1
Joined: 18. January 2014 00:53
Operating System: Windows XP

Re: XAMPP won't run other php files other than its own index

Postby JJ_Tagy » 18. January 2014 02:32

http://localhost is the same as your XAMPP/htdocs folder. So if you are typing localhost/xampp then you are requesting XAMPP/htdocs/xampp
Posts: 645
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: Xamppingaround and 50 guests