Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Zend framework的安装问题_Php_Apache_Zend Framework_Ubuntu - Fatal编程技术网

Php Zend framework的安装问题

Php Zend framework的安装问题,php,apache,zend-framework,ubuntu,Php,Apache,Zend Framework,Ubuntu,键入此命令时: apt-get install zend-framework 我得到这个错误: dpkg: error processing zend-framework (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: php5-common php5-cli libapache2-mod-php5 php5-curl php5-g

键入此命令时:

apt-get install zend-framework
我得到这个错误:

dpkg: error processing zend-framework (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 php5-common
 php5-cli
 libapache2-mod-php5
 php5-curl
 php5-gd
 php5-intl
 php5-mysql
 php5-pspell
 php5-recode
 php5-snmp
 php5-sqlite
 php5-tidy
 php5-xmlrpc
 php5-xsl
 php-pear
 php5
 libzend-framework-php
 zend-framework-bin
 zend-framework
E: Sub-process /usr/bin/dpkg returned an error code (1)

我已经在我的Ubuntu12.10上安装了apache2、php5和mysql,看起来你缺少依赖项了

我建议使用composer

1) 如图所示安装composer

2) 创建composer.json文件

3) 按照上述说明使用composer安装zend