php装第二个版本
<h3>改下面的php版本</h3>
<h4>/etc/ansible/playbooks/lnmp/package/PHP-Other-Versions/task/PHP.yml这个文件里面也要把php7x改为对应的版本</h4>
<pre><code>sudo ansible-playbook ansible-ops.yml --tags=PHP-Other -e &quot;PHP_OtherVersions_data_dir=/data/php74&quot; -e &quot;PHP_OtherVersions_extend_dir=/data/php74/etc/php.d&quot; -e &quot;PHP_OtherVersions_version=7.4.14&quot; -e &quot;PHP_OtherVersions_conf_dir=/data/php74/etc&quot; -e &quot;PHP_OtherVersions_bin_dir=/data/php74/bin&quot; -i 124.156.200.197:2020, --become</code></pre>
<p>最后在做一个软连接就行</p>