Tuesday, April 5, 2016

How to fix Error: Apache shutdown unexpectedly ?

Hello there,

Some people may face the error of port number or some errors as below when they try to start the server in XAMPP or in WAMP.

  [Apache] Error: Apache shutdown unexpectedly.
  [Apache] This may be due to a blocked port, missing dependencies,
  [Apache] improper privileges, a crash, or a shutdown by another method.
  [Apache] Press the Logs button to view error logs and check
  [Apache] the Windows Event Viewer for more clues
  [Apache] If you need more help, copy and post this
  [Apache]  entire log window on the forums


To fix this errors you can do as follows

1) Check you have Skype installed in your pc or not if so , the try to uninstall the application and restart XAMPP.
(In case you need Skype then follow step 2)

2) Open XAMPP control panel and then click on Config which is side to Apache then select the first option from the menu i.e., Apache(httpd.conf) Search for the below key words



A) Listen 80

B) ServerName localhost:80

Change 80 to 88

Now save It press Ctrl+s to safe it and again try to start apache


As you can see in above screen the status is changed to running.

Hope you have fixed the error and your facing any trouble please feel to comment below.



No Internet access ? Want to develop your website? No problem you can work it out!

Sometimes it’s hard to get internet access everywhere, but you want to develop your website, How can you do it? Continue reading this post so you would understand it.

Things you need to know.

Your PC must act as a server as well as host, so that you can view your website and edit it or add new features to it.So how to do it ? It’s simple you need to create a localhost.

WHAT’S A LOCALHOST?

In computer networking, localhost is a hostname that means this computer. It may be used to access the network services that are running on the host via its loopback network interface. Using the loopback interface bypasses any local network interface hardware.       ( Source: wikipedia)

HOW TO CREATE A LOCALHOST ?

We have tools such as XAMPP ,Wamp to do it. In future posts you would find all examples on XAMPP ,note that both  are meant for same , I prefer XAMPP.
Click the below link to download


Sometimes it’s hard to get internet access everywhere, but you want to develop your website, How can you do it? Continue reading this post so you would understand it.

Things you need to know.

Your PC must act as a server as well as host, so that you can view your website and edit it or add new features to it.So how to do it ? It’s simple you need to create a localhost.

WHAT’S A LOCALHOST?

In computer networking, localhost is a hostname that means this computer. It may be used to access the network services that are running on the host via its loopback network interface. Using the loopback interface bypasses any local network interface hardware.       ( Source: wikipedia)

HOW TO CREATE A LOCALHOST ?

We have tools such as XAMPP ,Wamp to do it. In future posts you would find all examples on XAMPP ,note that both  are meant for same , I prefer XAMPP.
Click the below link to download

WHAT IS XAMPP ?

XAMPP  is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP stands for Cross-Platform , Apache , MariaDB , PHP  and Perl . It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well. Read more at Wikipedia.

WHAT’S NEXT?

  1. Open XAMPP control panel , Start Apache and MySQL1
2) Open you browser and enter localhost in address bar and if everything goes well you can see as below
xampp-welcome-page
How to work on it ? Look out in next post.

Welcome to FreeToLearn

Hello People,
I would like to thank you first for visiting my blog , Here you can find all things related to website development and basics. You would also find the resources through which you can fix basic errors, you would face when you start install a server such as XAMPP or Wamp (Would explain about these in next post.).
Thank you