Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何指定 Ansible 加载的 PHP 版本?注意:Ansible 是用于管理服务器构建的软件,您可以指定如何设置服务器的方法,然后可以在几分钟内启动新服务器。我正在专门寻找如何使用“Ansible”来做到这一点。
安装/可用的 PHP 版本取决于您的操作系统和它可以访问的存储库。如果您使用的是基于 RHEL 的系统,您可能需要查看IUS 存储库并安装php54而不是默认的php. 我确信有类似的 Debian 存储库可用。
php54
php