[英]“PHP program not installed” message while installing ZF2 on ubuntu Xampp
I am trying to install ZF2 on ubuntu Xampp. 我正在尝试在ubuntu Xampp上安装ZF2。 I am following :-
我正在关注:-
http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html
I have downloaded the zip file. 我已经下载了压缩文件。 But when I run the command
但是当我运行命令时
php composer.phar self-update
I get a message :- 我收到一条消息:
"The program 'php' is currently not installed. You can install it by typing: sudo apt-get install php5-cli" “当前未安装程序'php'。您可以通过键入以下内容来安装它:sudo apt-get install php5-cli”
If we are trying to install within xampp then why do we need to install php separately, shouldn't xampp handle this? 如果我们试图在xampp中安装,那么为什么我们需要单独安装php,xampp不能处理吗?
Thanks 谢谢
Please Update/NewInstall your ubunto to latest version and install php packages with apt-get command ... should fix your problem 请更新/新建将您的ubunto安装到最新版本并使用apt-get命令安装php软件包...应该可以解决您的问题
You can verify php cli running by type this command in your console : 您可以通过在控制台中键入以下命令来验证php cli是否正在运行:
$php -v
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.