步骤1:[输入命令] sudo apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1881 not upgraded.
步骤2:[输入命令] php -v
The program *php* is currently not installed. You can install it by typing:
sudo apt-get install php5-cli
步骤3:[输入命令]sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-cli is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1881 not upgraded.
步骤4:[输入命令] php -v
The program *php* is currently not installed. You can install it by typing:
sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1881 not upgraded.
步骤2:[输入命令] php -v
The program *php* is currently not installed. You can install it by typing:
sudo apt-get install php5-cli
步骤3:[输入命令]sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-cli is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1881 not upgraded.
步骤4:[输入命令] php -v
The program *php* is currently not installed. You can install it by typing:
sudo apt-get install php5-cli