Skip to main content

Start Wamp server on windows automatically permanently

For those that have completely refused to use linux platforms for development, you might find this useful.

As with all (aspiring) web developers, it’s always important to test your projects locally before putting it out there for the entire web community to see. One must-have developer tool for this purpose is WAMPServer. We’ve all wished it’s automatically up and running when we need it. These easy steps will help you automate WAMPServer to run on system start-up.
For those unfamiliar with WAMPServer, it is a development package that lets you run web development projects locally. WAMP stands for Windows, Apache, MySQL, PHP/Perl/Python. It’s basically four programs packaged to work as one. WAMP basically turns any Windows PC into a localized web server. The Linux counterpart is called LAMP, obviously.
Once WAMPServer is installed in your PC, you’ll be able to test your web projects before putting it into the live environment. But I always found it a hassle to manually start the service every time I need it. With these easy steps, you’ll never have to manually start WAMPServer ever again.
  1. From All Programs, go to the Accessories folder and select Run. A shortcut for this is Windows Key + R.wamp01-02-webeditorsnotes-carlo-sulayao
  2. Type services.msc and click OK. This will open the Services Management Console.
    wamp02-webeditorsnotes-carlo-sulayao
  3. In Services Management Console, look for ‘wampapache‘. The Startup Type will be set to ‘Manual’ and so we’ll need to change this to ‘Automatic‘. Right-click on it and select ‘Properties’. In the properties window, select ‘Automatic‘ for ‘Startup Type‘. Then, click on ‘Apply‘ and then close the property window. We’ve just set the Apache side of WAMP to run automatically on startup.
    wamp04-webeditorsnotes-carlo-sulayao
  4. Still in Services Management Console, look for ‘wampmysqld‘. We’ll also set this to automatic, so right-click on it and select ‘Properties‘. wamp05-webeditorsnotes-carlo-sulayao
    Select ‘Automatic‘ for ‘Startup Type’. Click on ‘Apply’ and then close the Properties and Services Management Console.
    wamp06-webeditorsnotes-carlo-sulayao
  5. Restart your machine/PC.
  6. After the restart, log back in and open a browser. Type 127.0.0.1 in the address bar. 127.0.0.1 is the address for the local installation of WAMPServer in your PC. If the Server Configuration page for WAMPServer loads – Congratulations, you’ve just successfully automated your WAMPServer startup.
    wamp07-webeditorsnotes-carlo-sulayao

Comments

Post a Comment

Popular posts from this blog

Ten output devices, advantages and disadvantages, inter-site back-up mechanism, Expert systems for medical diagnosis,information systems security

(i)Printer Printer enables us to produce information output on paper. It is one of the most popular computer output devices we often use to get information on paper - called hard copy. Advantage They produce high quality paper output for presentation at a speedy rate. It is also possible to share the printer among different users in a network. Disadvantage The cost for maintenance of the printer equipment as well printing ink is cumulatively high. (ii) Plotters These devices are used to produce graphical outputs on paper. They have automated pens that make line drawings on paper Advantage They can produce neat drawings on a piece of paper based on user commands. In Computer Aided Design (CAD) they are used to produce paper prototypes that aid in design of the final system. Disadvantage They are more expensive than printers. Further, the command based interface is difficult to use. (iii)Monitor It is...

simple basic object oriented java code for employee salary calculation

import java.io.*; import java.util.Scanner; public class Employees {     Scanner scan=new Scanner(System.in);     String Fname;   int EmpID;  int DOB; double Allowance;   double Salary;     public void getDetails(){   System.out.println("Enter the first name");   Fname=scan.next();   System.out.println("Enter the ID number");   EmpID=scan.nextInt();   System.out.println("Enter the date of birth");   DOB=scan.nextInt();   System.out.println("Enter the salary");   Salary=scan.nextDouble();   Allowance=0.6*Salary;     }    public void printReport(){    System.out.println(Fname+"\t"+EmpID+"\t"+calGross()+"\t"+calPayee()+"\t"+calNetIncome());    }    public double calGross(){        return Salary + Allowance;    }    public double calPayee(){     ...

Yii Authentication and Authorization Login logout Access control filter and User Types

Authentication and Authorization check if a user is logged in or not via CWebUser::isGuest check if the user can perform specific operations by calling CWebUser::checkAccess  The main work in defining an identity class is the implementation of the IUserIdentity::authenticate method  class UserIdentity extends CUserIdentity {     private $_id;     public function authenticate()     {         $record=User::model()->findByAttributes(array('username'=>$this->username));         if($record===null)             $this->errorCode=self::ERROR_USERNAME_INVALID;         else if($record->password!==crypt($this->password,$record->password))             $this->errorCode=self::ERROR_PASSWORD_INVALID;         else         {             ...