![尝试将 PHP 服务器更新至 PHP7-cgi (7.2)](https://linux22.com/image/729963/%E5%B0%9D%E8%AF%95%E5%B0%86%20PHP%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%9B%B4%E6%96%B0%E8%87%B3%20PHP7-cgi%20(7.2).png)
我正在尝试将文件中的 PHP 服务器更新为 php7-cgi (7.2) .htaccess
。只是不确定如何编辑代码,无法让它工作。
以下是文件中的代码.htaccess
:
Options +FollowSymLinks
RewriteEngine On
Redirect /prodDetail.do (weblink)
AddType application/x-httpd-php .jsp
AddHandler x-httpd-php .jsp
# for PHP5-CGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php-cgi
# for php and securewebexchange
<IfDefine SSL>
AddHandler php-cgi .php
Action php-cgi https://secure9.securewebexchange.com/(weblink)/cgi-bin/php-cgi
</IfDefine>