Skip to content

A shell script for you to change your PHP version easily

Notifications You must be signed in to change notification settings

tiagofssampaio/changephpversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

PHP version Manage Script

Bash Script to allow you to change PHP version

Installation

  1. Download the script
  2. Apply permission to execute:
$ chmod +x /path/to/changephpversion

For Global Shortcut

$ cd /usr/local/bin
$ wget -O changephpversion https://raw.githubusercontent.com/tiagofssampaio/changephpversion/master/changephpversion
$ chmod +x changephpversion

Usage

Basic command line syntax:

$ sudo sh /path/to/changephpversion [php_version]

With script installed on /usr/local/bin

$ sudo changephpversion [php_version]

Examples

to change PHP version:

$ sudo changephpversion 5.6

About

A shell script for you to change your PHP version easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages