Skip to content

Instantly share code, notes, and snippets.

@othercodes
Last active September 13, 2019 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othercodes/10e04837dbe3b8cce7f6259b49a1b1d6 to your computer and use it in GitHub Desktop.
Save othercodes/10e04837dbe3b8cce7f6259b49a1b1d6 to your computer and use it in GitHub Desktop.
Easy setup for dev PHP environments.
#!/usr/bin/env bash
#
# PHP Installer (RH)
#
# Install all PHP versions and some extensions.
#
# Tested on:
# - CentOS Linux release 7.5.1804 (Core)
#
bash <(curl -s https://gist.githubusercontent.com/othercodes/ab66f49f2db94e1f40c2ab86003dc17c/raw/phprhinstaller.sh)
#
# Ion Cube Loaders Installer for Default + RH + Remi
#
# Automatically install the required Ion Cube Loader
# for the required php version (Default + RH + Remi)
#
# Tested on:
# - CentOS Linux release 7.5.1804 (Core)
# - Ubuntu 16.04.3 LTS
#
# Options
# -x Try to fix the conflictive extension ini files for all the PHP versions in the system.
# -i Install the latest Ion Cube Loaders for all PHP versions in the system.
# -r Reinstall a fresh copy of the Ion Cube Loaders.
# -v Display current version.
# -h Display help information.
#
bash <(curl -s https://gist.githubusercontent.com/othercodes/963a2adfe5118b9955d1cc2283cdd5ed/raw/zion.sh) -r
#
# PHP Mod Apache Installer (RH)
#
# Reconfigure the Apache Mod PHP.
#
# Tested on:
# - CentOS Linux release 7.5.1804 (Core)
#
bash <(curl -s https://gist.githubusercontent.com/othercodes/cf88b8a8fe369fd691574dc6a28491c2/raw/morphpeus.sh)
#
# Virtual Host Generator
#
# Apache virtual host generator.
#
# Tested on:
# - CentOS Linux release 7.5.1804 (Core)
# - Ubuntu 16.04.3 LTS
#
# Options
# -s Deploy virtual host with SSL.
# -f Add domain entries to /etc/hosts file
# -v Display current version.
# -h Display help information.
#
bash <(curl -s https://gist.githubusercontent.com/othercodes/9deff8dd4c39376c2bbb5c8e43960b0d/raw/vhost.sh) -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment