package that depends to libzendframework-php / include_path issue l.declercq at
Wed Aug 1 17:06:22 UTC 2012

Hello ;

I'm working on a package that depends on the libzend-framework-php 
package. Since the ZF library is not in the PHP include_path (out of pkg 
installation), can I edit the /etc/php5/conf.d/zend-framework.ini file 
via my pkg postinst script to make it work without requiring the admin 
to edit that file manually? Ubuntu seem to follow the Debian policy 
draft for PHP packages but Debian do not.

To resume, Under Debian, after installing the zendframework package, the 
library is available without modifying anything because the files are 
installed under /usr/share/php/Zend. On ubuntu, the library is available 
under /usr/share/php/libzend-framework-php/Zend/. That for a 
specific/etc/php5/conf.d/zend-framework.ini file is provided to add it 
to the PHP include path.

BTW: I would recommend to make it workable after installation without 
requiring the admin to edit it. :D

Sorry for my English, I'm French.

Laurent Declercq
iHMS project manager

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Ubuntu-devel-discuss mailing list