php5-curl安装错误


error in installation of php5-curl

我正在尝试使用命令

安装php5-curl
 sudo apt-get install php5-curl

但是我得到以下错误

   Reading package lists... Done
   Building dependency tree       
   Reading state information... Done
   The following extra packages will be installed:
   php5-common php5-fpm
   Suggested packages:
   php5-suhosin php-pear
   The following NEW packages will be installed:
   php5-common php5-curl php5-fpm
   0 upgraded, 3 newly installed, 0 to remove and 673 not upgraded.
   Need to get 0 B/4,919 kB of archives.
   After this operation, 10.8 MB of additional disk space will be used.
   Do you want to continue [Y/n]? y
   Selecting previously unselected package php5-common.
   (Reading database ... 144138 files and directories currently installed.)
   Unpacking php5-common (from .../php5-common_5.3.10-1ubuntu3.11_amd64.deb) ...
   Selecting previously unselected package php5-fpm.
   Unpacking php5-fpm (from .../php5-fpm_5.3.10-1ubuntu3.11_amd64.deb) ...
    Selecting previously unselected package php5-curl.
   Unpacking php5-curl (from .../php5-curl_5.3.10-1ubuntu3.11_amd64.deb) ...
   Processing triggers for ureadahead ...
   Processing triggers for man-db ...
    Setting up php5-common (5.3.10-1ubuntu3.11) ...
    Setting up php5-fpm (5.3.10-1ubuntu3.11) ...
   update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB  
   Default-Stop values (none)
   Setting up php5-curl (5.3.10-1ubuntu3.11) ...

当我尝试运行PHP要求的脚本时它给出错误为

   /usr/bin/php: bad interpreter: No such file or directory
我试着卸载和安装php5-curl,但每次都出现同样的错误

您似乎缺少包含命令行php解释器的php5-cli包。

sudo apt-get install php5-cli