Created
May 24, 2016 13:27
-
-
Save allysonsouza/cc5847a21fbf7c36ca61c68c08d29e19 to your computer and use it in GitHub Desktop.
Enabling PHP 7 on Hostgator trough htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Habilitar o PHP 7.0 | |
AddHandler application/x-httpd-php70 .php | |
<IfModule mod_suphp.c> | |
suPHP_ConfigPath /opt/php70/lib | |
</IfModule> |
Obrigado!
Gracias!
Finally!
What if we want to use different version from CLI ?
Hi @parthpabari, sorry, but I have no idea, it's a long time since I used Hostgator last time
Hi @allysonsouza do you know how to enable php 7.2 on Hostgator via .htaccess?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this ;)