Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Tourchenko Ekaterina KatarinaT

🏠
Working from home
Block or report user

Report or block KatarinaT

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.