Code Monkey home page Code Monkey logo

lampp_switcher's Introduction

lampp_switcher

Simple lampp switcher

Welcome to the lampp switcher!

before you run it, Please MAKE A BACKUP from your lampp directory, you can do it using:

~$ sudo tar czvf /home/$USER/lamp.tgz /opt/lampp/

this script do not install xampp on your machine, just switch between installations

before you run it, make sure you have property install xampp in /opt folder(default for xampp ) in my case I do:

install lampp with php5 on /opt/lampp

rename folder lampp to lampp5 after lampp installation (your version choise)

~$ sudo mv /opt/lampp /opt/lampp5

install lampp with php7 on /opt/lampp

rename folder lampp to lampp7 after lampp installation with php7 (your version choice)

~$ sudo mv /opt/lampp /opt/lampp7

$ ls -l /opt
drwxr-xr-x 30 rafaelphp rafaelphp 4096 jul 15 00:30 lampp5
drwxr-xr-x 29 rafaelphp rafaelphp 4096 jul 14 20:16 lampp7

!!!!! BACKUP dont forget it, MAKE it an EXECUTABLE !!!!

~$ sudo chmod +x lampp_switcher.sh

Run

~$ ./lampp_switcher.sh

Enjoy!

lampp_switcher's People

Contributors

rafaelphp 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.