医疗网站优化,义乌网站建设技术托管,沈阳市建设公司网站,网站网络我已经将PHP版本更新到5.5.26。使用PHP 5.4#xff0c;我使用FCGI的Apache配置是#xff1a;AddHandler fcgid-script .phpAddHandler fcgid-script .php5使用新版本的PHP我需要把其他配置工作#xff1a;SetHandler fcgid-script没关系#xff0c;它的工作。我的问题是与W…我已经将PHP版本更新到5.5.26。使用PHP 5.4我使用FCGI的Apache配置是AddHandler fcgid-script .phpAddHandler fcgid-script .php5使用新版本的PHP我需要把其他配置工作SetHandler fcgid-script没关系它的工作。我的问题是与Webmin的Virtualmin模块。我不想每次都更改配置所以我编辑了perl文件/usr/share/webmin/virtual-server/php-lib.pl# Directives for fcgidlocal $dest $d-{home}/fcgi-bin;#push(phplines, AddHandler fcgid-script .php);# New config for PHP filespush(phplines, );push(phplines, SetHandler fcgid-script);push(phplines, );push(phplines, FCGIWrapper $dest/php$ver.fcgi .php);foreach my $v (list_available_php_versions($d)) {#push(phplines,# AddHandler fcgid-script .php$v-[0]);push(phplines, FCGIWrapper $dest/php$v-[0].fcgi . .php$v-[0]);}但我的改变什么也没有Webmin继续放置行AddHandler。我重新启动了Webmin我清除了文件/etc/webmin/module.infos.cache。