虚拟主机报500错误;
[Thu Jul 22 08:29:40 2021] [error] [client x.x.x.x] FastCGI: comm with server "/php-1.1/phpfarm-0.1.0/inst/bin/php-fpm-host5259993" aborted: error parsing headers: duplicate header 'Content-Type', referer: http://www.xxxxx.com/admin.php
FastCGI模式下不允许发送header,打开index.php文件,去掉header语句
第9行代码去掉