Hostgator的所有服务器都使用php 5,默认的php版本取决于你的主机类型,注意:如果您想使用一个特定版本的PHP,请参阅我们的文章 PHP 5.3 和 PHP 5.4 详情。

Hostgator也可以在VPS和专用服务器上安装 PHP 5.4

二次安装PHP(包括5.3和5.4)是免费的。

不幸的是,对于共享&经销商托管,不可能切换到一个服务器和一个特定版本的PHP。 所有新账户将使用PHP 5.3和PHP 5.4。 更早的帐户则只能继续使用PHP 5.2。 不过因为PHP 5.2是尽早要被弃用和被淘汰的,所以为了未来的兼容性,建议您准备一下,让你的脚本兼能够容PHP 5.3或PHP 5.4。

下面是hostgator主机类型对应的php版本:

Hosting Type PHP 5.2.x PHP 5.3.x PHP 5.4.x PHP 5.5x OS
Shared Hosting Yes
Configuration Plugin
Yes
Configuration Plugin
Yes
Default
YesConfiguration Plugin LINUX
Windows Shared Hosting Yes
Select in Plesk
Yes
 Select in Plesk
No
Select in Plesk
No
Not Available
WIN
Reseller Hosting Yes
Configuration Plugin
Yes
Configuration Plugin
Yes
Default
Yes
Configuration Plugin
LINUX
SEO Hosting

SEO Hosting now has its own support team!

Visit the SEO Hosting website for contact information, including a new SEO phone number (866-692-9231) and updated chat support buttons.

HostGator staff no longer has access to SEO Hosting accounts and all future support requests should be sent to the new SEO Hosting Support Team.

VPS Hosting with cPanel Ticket Required
Upon
Request
Ticket Required
Upon
Request
Yes
Default
Ticket Required
Upon
Request
LINUX
VPS Hosting with Plesk No
Not Available
Yes
Default
No
Not Available
No
Not Available
LINUX
VPS with VZ Only Since this is a bare bones installation,
PHP is not installed by default,
but you can install any version you like.
LINUX
Linux Dedicated Servers Ticket Required
Upon
Request
Ticket Required
Upon
Request
Yes
Default
Ticket Required
Upon
Request
LINUX
Windows Dedicated Servers Yes
 Select in Plesk
Ticket Required
Select in Plesk
Ticket Required
Select in Plesk
No
Not Available
WIN