回复至:将WordPress内核预加载到内存中以加快网页生成速度

maqingxi
  • 文章数量: 7
@maqingxi
  thrown in /www/wwwroot/rss.chenyan98.cn/app/Models/Feed.php on line 62" while reading response header from upstream, client: 58.208.13.11, server: rss.chenyan98.cn, request: "POST /p/i/?c=feed&a=actualize&id=7&ajax=1 HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "rss.chenyan98.cn"
2021/06/22 10:23:30 [error] 17504#0: *253165 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined method SimplePie_Misc::url_remove_credentials() in /www/wwwroot/rss.chenyan98.cn/app/Models/Feed.php:62
Stack trace:
#0 /www/wwwroot/rss.chenyan98.cn/app/Controllers/feedController.php(333): FreshRSS_Feed->url()
#1 /www/wwwroot/rss.chenyan98.cn/app/Controllers/feedController.php(564): FreshRSS_feed_Controller::actualizeFeed()
#2 /www/wwwroot/rss.chenyan98.cn/lib/Minz/Dispatcher.php(119): FreshRSS_feed_Controller->actualizeAction()
#3 /www/wwwroot/rss.chenyan98.cn/lib/Minz/Dispatcher.php(47): Minz_Dispatcher->launchAction()
#4 /www/wwwroot/rss.chenyan98.cn/lib/Minz/FrontController.php(81): Minz_Dispatcher->run()
#5 /www/wwwroot/rss.chenyan98.cn/p/i/index.php(57): Minz_FrontController->run()
#6 {main}

在php配置文件内加入opcache.preload之后与wordpress共用php7.4的FreshRSS无法获取内容,现在把代码去掉了,在我2H4G6M的配置下提升好像不是很大…

来自, 本机地址, 本机地址