Any particular reason you're choosing shared hosting over an unmanaged vps?
Shared Hosting with Options
I'd like help with find a shared hosting that has:
- cpanel
- ssh access
- laravel friendly (I'd like to change the document root for the main domain)
- to be able to clone a repo
- php 7.0+
@Bloomanity I've the option to install/change in the cpanel in
Advanced > PHP configuration

Log in your server by SSH and check your php version
php -v
You should see something like that:
PHP 5.6.14 (cli) (built: Dec 5 2015 12:18:14)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.12, Copyright (c) 2002-2015, by ionCube Ltd.
with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies[
Edit your .bashrc file in /home/your-user-cpanel/.bashrc and insert the below lines:
alias php='/opt/php70/bin/php'
export PATH="/opt/php70/bin:$PATH"
If the file doest not exist, create the file /home/your-user-cpanel/.bashrc and put the code below:
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and function
alias php='/opt/php70/bin/php'
export PATH="/opt/php70/bin:$PATH"
Load the new changes with the command source:
source /home/seudominio/.bashrc
And it's done!
Another option NOT tested by me, but it's in the brazilian hostgator forum is to create a htaccess to do that:
Edit your .htaccess to enable 7.0
# Enable PHP 7.0
AddHandler application/x-httpd-php70 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php70/lib
</IfModule>
Please or to participate in this conversation.