我有两个独立的环境,一个在另一个环境中发生的奇怪的行为。 具体来说,错误与PHP有关:
Fatal error: Nesting level too deep - recursive dependency?
这只发生在AWS上,而不是在我们的内部托pipe,这是一个ESXi虚拟机。 我们尝试同步PHP,PHP模块,Apache,Apache模块版本和configuration都未能消除此AWS唯一错误。
因此,我们现在希望将networking扩大,并考虑依赖性和系统范围的configuration,以尝试和进一步消除环境中的差异。 至less在概念层面上,我已经被同事告知,为此目的可能有指纹工具。
感谢您的任何build议。
dpkg --get-selections结合apt-cache policy将有所帮助; 假设两台服务器使用相同的源镜像,类似
{ for i in $( dpkg --get-selections | grep -v "deinstall" | cut -f1 ); do \ apt-cache policy $i; \ done } > $( cat /etc/hostname ).txt
可能有助于find具体的包装差异。