开发者

How to update a new version of Zend framework in the Zend studio

I'm new to the Zend Studio and Zend framework. I'm trying to build a Zend framework project in Zend Studio. But the there is only one framework version could be selected, which I guess is the default on开发者_JAVA技巧e. If I want to add a new framework version and create a new Zend framework project with new one, how should do?

Thanks

P.S. The version of Zend Studio I used is 7.2.1 and the Zend Framework I want to add is version 1.11.3


The framework for zend studio is not compiled into a jar file. ZF is a set of files in a resource folder. All you have to do is copy the version of ZF you want to use with Zend Studio on top of the version that came with Zend Studio.

-- Former Zend Employee


What m0sc said.

Another option would be to ignore the library zend studio uses; and just include it yourself everytime in the index.php:

set_include_path(implode(PATH_SEPARATOR, array(
    realpath(dirname(__FILE__) . '/../library'),
    get_include_path(),
)));

I prefer to do it this way, because it's what I have to do in production anyway.


This is not possible as far as i know. The framework is compiled into .jar file. The files however are stored in your workspace folder. So you could try updating them.

[workspace]/.metadata/.plugins/org.zend.php.framework.resource/resources/ZendFramework-1/library

But you can easily add a new library.

Window > Preferences > PHP Libraries

Here you can add a location to the new Zend Framework. And in your project you can attach this library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜