skip to content
Note

serv00如何切换PHP版本

/ 1 min read

AddType application/x-httpd-php56 .php
AddType application/x-httpd-php70 .php
AddType application/x-httpd-php71 .php
AddType application/x-httpd-php72 .php
AddType application/x-httpd-php73 .php
AddType application/x-httpd-php74 .php
AddType application/x-httpd-php80 .php
AddType application/x-httpd-php81 .php
AddType application/x-httpd-php82 .php
AddType application/x-httpd-php83 .php
AddType application/x-httpd-php84 .php

假如你现在是56版本的程序需要PHP 8.2版本,那么在.htaccess文件的最后一行或第一行或伪静态规则之外,加入 AddType application/x-httpd-php82 .php 保存上传即可。其他版本同理

参考链接:https://docs.serv00.com/PHP/#php-version