zend工具不起作用

时间:2010-06-11 07:36:04

标签: php zend-framework zend-studio zend-debugger

我安装了ZendStudio 7.2它正常创建项目没有错误但是当我尝试在其中添加动作时,它表示项目配置文件不存在。并且错误日志如下:

executing zf create action showLatest index-action-included
                          An Error Has Occurred                         
 A project profile was not found.                                       

Zend Framework Command Line Console Tool v1.10.2
Details for action "Create" and provider "Action"
  Action
    zf create action name controller-name[=Index] view-included[=1] module


Failed loading ./ZendDebugger.so:  (null)
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/bcmath.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/bz2.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/calendar.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/ctype.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/curl.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/exif.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/fileinfo.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/ftp.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/gd.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/imagick.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/json.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/ldap.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mbstring.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mcrypt.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/memcache.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mhash.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mime_magic.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mssql.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mysql.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/mysqli.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/pcntl.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/pgsql.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/posix.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/shmop.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/soap.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/sockets.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/sqlite.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/sysvmsg.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/sysvsem.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/sysvshm.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/tidy.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/tokenizer.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/wddx.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/xmlreader.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/xmlrpc.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/xsl.so' - (null) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './ext/zip.so' - (null) in Unknown on line 0

请帮我配置最新的ZendTool与ZendStudio 7.2或如何摆脱这一点。 我在我的mac os x 10.5.8上运行ZS 7.2

感谢。

1 个答案:

答案 0 :(得分:2)

从framework.zend.com下载的文件中复制库中名为Zend的文件夹 将zf.php和zf.sh从bin目录复制到/ usr / bin 将zf.sh重命名为zf

打开终端并按类型zf测试您的安装,然后按Enter键

http://qersh.com/blog/2010/08/05/how-to-install-zend-tools-1-10-on-ubuntu-10-04/