Available PHP Versions
We offer a variety of supported and end-of-life PHP versions (secured by HardenedPHP). Here’s the list of PHP versions and their full paths.
Available PHP Versions
Section titled “Available PHP Versions”| Version | CLI Path | Handler |
|---|---|---|
| 4.4 | /opt/alt/php44/usr/bin/php | application/x-httpd-alt-php44 |
| 5.1 | /opt/alt/php51/usr/bin/php | application/x-httpd-alt-php51 |
| 5.2 | /opt/alt/php52/usr/bin/php | application/x-httpd-alt-php52 |
| 5.3 | /opt/alt/php53/usr/bin/php | application/x-httpd-alt-php53 |
| 5.4 | /opt/alt/php54/usr/bin/php | application/x-httpd-alt-php54 |
| 5.5 | /opt/alt/php55/usr/bin/php | application/x-httpd-alt-php55 |
| 5.6 | /opt/alt/php56/usr/bin/php | application/x-httpd-alt-php56 |
| 7.0 | /opt/alt/php70/usr/bin/php | application/x-httpd-alt-php70 |
| 7.1 | /opt/alt/php71/usr/bin/php | application/x-httpd-alt-php71 |
| 7.2 | /opt/alt/php72/usr/bin/php | application/x-httpd-alt-php72 |
| 7.3 | /opt/alt/php73/usr/bin/php | application/x-httpd-alt-php73 |
| 7.4 | /opt/alt/php74/usr/bin/php | application/x-httpd-alt-php74 |
| 8.0 | /opt/alt/php80/usr/bin/php | application/x-httpd-alt-php80 |
| 8.1 | /opt/alt/php81/usr/bin/php | application/x-httpd-alt-php81 |
| 8.2 | /opt/alt/php82/usr/bin/php | application/x-httpd-alt-php82 |
| 8.3 | /opt/alt/php83/usr/bin/php | application/x-httpd-alt-php83 |
| 8.4 | /opt/alt/php84/usr/bin/php | application/x-httpd-alt-php84 |
| 8.5 | /opt/alt/php85/usr/bin/php | application/x-httpd-alt-php85 |
All alt-php* versions give you complete control over extensions and INI options using our PHP selector.
Primary PHP Version
Section titled “Primary PHP Version”Your account can control its primary PHP version using our PHP Selector. With the primary PHP version, you will use the standard path for CLI of /usr/local/bin/php