zend-framework does not add itself to php include_path

Bug #220719 reported by PatRiehecky
6
Affects Status Importance Assigned to Milestone
zend-framework (Ubuntu)
Fix Released
Wishlist
Stephan Rügamer

Bug Description

Binary package hint: zend-framework

When installing the zend-framework package I expected it to add itself to php's include_path so that the classes within the framework could be accessed instantly after installation or at least included trivially. That does not appear to be the case.

Hardy Beta
zend-framework 1.5.1-0ubuntu1
php5 5.2.4-2ubuntu5
libapache2-mod-php5 5.2.4-2ubuntu5

Daniel Hahler (blueyed)
Changed in zend-framework:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Hi Pat,

no it won't (that's why I explained that in README.debian).
It's more sane, then destroying peoples php.ini :) because there could be many...

Changed in zend-framework:
status: Triaged → Won't Fix
Revision history for this message
Olivier Berger (olivierberger) wrote :

Why not add it in a /etc/php5/conf.d/zend.ini as :
 [Zend] # not so sure if this header is useful / needed ?
 include_path = ${include_path} ":/usr/share/php/libzend-framework-php"

The same was suggested for smarty : https://bugs.launchpad.net/ubuntu/+source/smarty/+bug/44404

... well, at least until apache/mod_php5 won't crash if this is done while no explicit previous initialisation of include_path was made (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497453)

Can you reopen ?

Hope this helps.

Revision history for this message
Olivier Berger (olivierberger) wrote :

Reopening ?

Changed in zend-framework:
status: Won't Fix → New
Revision history for this message
Olivier Berger (olivierberger) wrote :

Looks like I know not yet enough of LP's UI and could reopen myself. Sorry.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

It's on my list for the zend-framework 1.6

Changed in zend-framework:
assignee: nobody → shermann
status: New → Triaged
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Zend Framework 1.7.1 will have this feature

Changed in zend-framework:
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zend-framework - 1.7.1-0ubuntu1

---------------
zend-framework (1.7.1-0ubuntu1) jaunty; urgency=low

  * New Upstream version
  * New features and components:
    + Zend_Amf with support for AMF0 and AMF3 protocols
    + Dojo Toolkit 1.2.1 (Not installed in Ubuntu Package)
    + Support for dijit editor available in the Dojo Toolkit
    + Zend_Service_Twitter
    + ZendX_JQuery in extras library
    + Metadata API in Zend_Cache
    + Google book search API in Zend_Gdata
    + Preliminary support for GData Protocol v2 in Zend_Gdata
    + Support for skip data processing in Zend_Search_Lucene
    + Support for Open Office XML documents in Zend_Search_Lucene indexer
    + Performance enhancements in Zend_Loader, Zend_Controller, and server components
    + Zend_Mail_Storage_Writable_Maildir enhancements for mail delivery
    + Zend_Tool in incubator
    + Zend_Text_Table for formatting table using characters
    + Zend_ProgressBar
    + Zend_Config_Writer
    + ZendX_Console_Unix_Process in the extras library
    + Zend_Db_Table_Select support for Zend_Paginator
    + Global parameters for routes
    + Using Chain-Routes for Hostname-Routes via Zend_Config
    + I18N improvements
      - Application wide locale for all classes
      - Data retrieving methods are now static
      - Additional cache handling methods in all I18N classes
      - Zend_Translate API simplified
    + File transfer enhancements
      - Support for file elements in subforms
      - Support for multifile elements
      - Support for MAX_FILES_SIZE in form
      - Support for breaking validation chain
      - Support for translation of failure ,messages
      - New IsCompressed, IsImage, ExcludeMimeType, ExcludeExtension validators
      - Support for FileInfo extension in MimeType validator
    + Zend_Db_Table_Select adapater for Zend_Paginator
    + Support for custom adapters in Zend_Paginator
    + More flexible handling of complex types in Zend_Soap
    + All bugs which are fixed you can find here:
      - http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=10903
  * Do not install the dojo toolkit which is being shipped inside the original tarball of Zend
  * Do not install the incubator which is being shipped inside the original tarball of Zend
  * debian/control: remove quilt from build-depends, not needed anymore
  * debian/rules:
    - remove all quilt relevant patch rules and includes
    - copy debian/zend-framework.ini to the right location (/etc/php5/conf.d/)
  * added debian/zend-framework.ini (LP: #220719)
  * debian/README.Debian:
    - Updated to the new world order for enabling zend-framework

 -- Stephan Hermann <email address hidden> Tue, 02 Dec 2008 12:22:54 +0000

Changed in zend-framework:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.