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.
我真的必须在 Amazon Linux 上安装 PHP 5.2。我尝试这样做,但最终安装了两个 php 版本,一个由 apache 使用,另一个由命令行使用。
有什么帮助吗?
You need to add the path to the one you want to the $PATH variable.
$PATH