1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > Godaddy主机修改PHP版本教程 godaddy主机空间用.htaccess升级PHP版本

Godaddy主机修改PHP版本教程 godaddy主机空间用.htaccess升级PHP版本

时间:2023-04-21 01:14:14

相关推荐

Godaddy主机修改PHP版本教程 godaddy主机空间用.htaccess升级PHP版本

We reviewed your account and see that you are in fact using PHP 5. Your hosting account uses PHP files in the following way:

*PHP files — Your hosting account’s PHP version. For more information, see Viewing or Changing Your PHP Language Version.

*PHP4 files — PHP 4

*PHP5 files — PHP 5

However, you can also change how your hosting account uses PHP files with a .htaccess file located in your root directory.

The following entries in a directory’s .htaccess file designate PHP files to run under PHP 5 and PHP4 files to run under PHP 4.

AddHandler x-httpd-php5 .php

AddHandler x-httpd-php .php4

Grid Hosting accounts should use the following entries:

AddHandler x-httpd-php5-cgi .php

AddHandler x-httpd-php-cgi .php4

Changes made to an existing .htaccess file will be seen immediately. When creating new .htaccess files or deleting existing .htaccess files, you might not see changes for up to an hour.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。