Giter Club home page Giter Club logo

vagrant-php-mssql's Introduction

VagrantBox with PHP, Apache, and Microsoft SQL Server.

This is a complete development environment for working with PHP and MS SQL Server. Based on Ubuntu 20.04 (Focal) ๐Ÿง

Provisions

This Box comes bundled with the following goodies

  • PHP 7.4.X (With common mods to work with modern MVC Frameworks, and the MS SQL Server Drivers)
  • Composer (Latest Ver.)
  • Apache 2 (With mod_rewrite enabled)
  • Git
  • NodeJS (10.x)
  • Microsoft SQL Server 2019 (Dev. Edition)

Requirements

Make sure you have these installed and ready to go.

  • VirtualBox
  • Vagrant
  • Git

Usage

  • mkdir desired_directory
  • cd desired_directory
  • git clone https://github.com/murilomagalhaes/vagrant-php-mssql.git .
  • vagrant up
  • Make yourself some coffe while it loads everything! โ˜•

Default configurations:

MS SQL Server

  • User: sa
  • Pass: Mssql@vagrant
  • Port: 1434

Apache

The Default apache public directory /var/www/ is synced to the apps directory on the box's root. That's where your app(s) go!

You can access them on your host machine via the ip 192.168.33.20

If you wish to change any of these default configurations, just edit the VagrantFile and run vagrant reload

Tips:

  • To connect to your database on your host machine using MS SQL Management Studio, you need to inform localhost, 1434 on the Server Name since I'm not using the default port.

  • Connecting via HeidiSQL can be problematic. I couldn't make it work.

  • If you're having problems connecting with the box on Windows 10 running vagrant ssh, try to disable Windows 10's default ssh client. (This can be usually done under Settings > Apps > Additional Resources)

  • You can change the ammount of CPUs and RAM by changing it on the VagrantFile. By default, it is set to 2 CPUs and 3GB.

vagrant-php-mssql's People

Contributors

murilomagalhaes avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.