Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tourchenko Ekaterina KatarinaT

🏠
Working from home
View GitHub Profile
@KatarinaT
KatarinaT / phpswitch.sh
Last active Jan 18, 2019
Shell script for switching php version
View phpswitch.sh
#!/bin/bash
## Switch php version
## Command line need only one argument, it's php version
exists()
{
command -v "$1" >/dev/null 2>&1
}
##< Allowed only for admin
You can’t perform that action at this time.