Hello!
I see that the servers do have newer versions of PHP installed (looks like it defaults to 7.1). Is it possible through a .htaccess to direct a site/directory to use 7.2 or 7.3?
Thanks
Using newer version of PHP
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue May 14, 2019 7:51 am
Re: Using newer version of PHP
PHP 7.2 and 7.3 are installed on our webhosting machines and usable from the command line, so you may be able to do this by modifying your scripts to have a shebang line at the top and reconfiguring Apache to process them using CGI instead of the default mod_php handler. But, this isn't something that I've experimented with or that we officially support. To use a custom version of PHP or other software, I'd recommend using an unmanaged VDS, instead.