Skip to content

Setup PHP Dev Envrionment on Windows

Setup PHP Dev Envrionment on Windows

It is actually very simple to setup a simple development environment for your PHP projects. XAMPP is your friend you must have for this. It is easy to install and setup, with minimal configuration needed after.

Here are the steps,

  1. Go to XAMPP website to download and install it.
  2. After installation, run it and you will see a window as shown below

    XAMPP Control Panel
    XAMPP Control Panel
  3. Start APACHE and MYSQL modules and your already almost there !
  4. Now, you can open your browser and hit in http://localhost:80 for the url and you will see a welcome message by XAMPP.

Congrats ! You have setup your development environment for PHP. Here are some things to take note of
– To enable or disable modules (e.g SQLite3), you can modify the php.ini which should by default is inC:\xampp\php
– You can look through your logs and edit your config through the same control panel as well.
– If you wish to put your own html, php, javascript, .. files, you will have to go to C:\xampp\htdocs and place your files there

Enjoyed the content ? Share it with your friends !
Published inDevelopment

Be First to Comment

Leave a Reply

Your email address will not be published.