0

So I want to use Xampp to control my servers. I already installed Apache2 and now it orverrides localhost.

Whenever i put localhost/xampp/index.php it says OBJECT NOT FOUND.

How would I delete this Apache program, and strictly use Xampp on localhost?

I already tried to change the .conf file to Listen 8000 and when to http://localhost:8000/xampp/index.php

Chris Rathjen
  • 11
  • 2
  • 2
  • 9

4 Answers4

0

Have you started apache by opening up Xampp control panel? If you didn't then it won't work. So open up Xampp control panel from the start menu and click on start where it says apache and then run http://localhost to see whether it works.

Ihsan Izwer
  • 133
  • 2
  • 11
0
  1. Steps:

    1. Open "XAMPP controll panel and run Apache and MySQL"
    2. create folder www inside xampp\htdocs, if you are on win propably C:\xampp\htdocs, so now you have C:\xampp\htdocs\www\
    3. Create test.php inside C:\xampp\htdocs\www\, now you have C:\xampp\htdocs\www\test.php
    4. Put inside test this: <?php echo 'php works fine.'; ?>

    5. Run this script in browser on link "http://localhost/www/test.php" you will see "php works fine.".

DONE.

luchaninov
  • 6,792
  • 6
  • 60
  • 75
fico7489
  • 7,931
  • 7
  • 55
  • 89
0

Have a look at the :

\xampp\apache\logs\error.log

This might give you an idea, why the XAMPP splash screen cannot be found.

Also, make sure you do not have any IIS or similar programs running, as they might have a conflict with the XAMPP.

You can also check if the port is open or not using the instructions given here..

Cheers.

Community
  • 1
  • 1
Pragyaditya Das
  • 1,648
  • 6
  • 25
  • 44
0

I might be wrong, but it seems to me that everything on localhost is coming from htdocs, but you don't call it from htdocs in the URL.

F-N-newb
  • 23
  • 4