迁移主站出现的PHP报错。。。
基本架构:web1上面有nginx+fpm,nginx做负载和静态处理,web1.web2,web3上的fpm处理PHP。。mongo读写分离。CDN资源服务器。4台ha负载的mysql由于流量问题把web1迁移到新的服务器上,,我在搭建好web1相同的环境后,直接拷贝的web1上的网站目录。。然后测试新机器能不能访问。。出现以下报错。。
2015/06/07 11:54:56 7300#0: *260073 FastCGI sent in stderr: "PHP message: PHP Warning:PDOStatement::execute(): MySQL server has gone away in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 641 PHP message: PHP Warning:PDOStatement::execute(): Error reading result set's header in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 641" while reading response header from upstream, client: IP, server: 网站域名, request: "GET /api/adventure/battle/lastRound?action=0 HTTP/1.1", upstream: "fastcgi:IP:9000", host: "网站域名", referrer: assets.网站域名/网站域名/assets/LoadShell.swf?ver=0.0.7"
还出现以下报错。。
页:
[1]