我已经在Linux机器上安装了PHP,但似乎找不到PHP中的“模块”目录。在安装了MAMP的Mac上,这个文件夹位于~/Applications/MAMP/bin/php/php5.3.6/中,但是我不知道这个文件夹在Linux和yum上的安装位置。现在有人知道yum在哪里安装这些PHP目录吗?
我正在上使用EC2 ( AMI -1624987f)
我在亚马逊上创建服务器,并希望通过putty中的SSH连接到它。我连接成功,但无法发送命令。我有错误:sudo: apt-get: command not found
-bash: apt-get: command not found
-bash: root: command not found sudo
usage: sudo [-D level] -h | -