Problem with XAMPP server for PHP

Asked By 0 points N/A Posted on -
qa-featured

Hi experts,

I downloaded and installed XAMPP server on my Windows. I think it installed well. Apache and MySQL were running. 

But whenever I want to navigate my PHP files the browser displays the error message – Server not found or something like that. How can I get rid from this problem?

Thanks in advance 

SHARE
Answered By 10 points N/A #162974

Problem with XAMPP server for PHP

qa-featured

Hello Ratan,

The first step toward solving this issue will be to go to the http://localhost/ folder name, or locate the file name that you want to access. It could be something like index.php file of the website you are testing.

An alternative solution will be to stop all of the services, and as well solve the “Another daemon is already running” issue.

The following commands will help you solve the issue

sudo opt/lampp/lampp stop              

sudo /etc/init.d/apache2 stop    

sudo /etc/init.d/mysql stop

You can also use the following instead of the above:

sudo service apache2 stop

sudo service mysql stop

After that you have done that you can start again the xampp services as follows:

sudo opt/lampp/lampp start

After that there should be no problems while opening:

http://localhost                  

http://localhost/phpmyadmin

Regards,

Carl
 

Related Questions