/etc/php5/conf.d/zend-framework.ini does not actually work

Bug #1025631 reported by Jakob Unterwurzacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zend-framework (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

/etc/php5/conf.d/zend-framework.ini has the line (by default commented out)

    include_path=${include_path} ":/usr/share/php/libzend-framework-php"

which looks like it appends the zend folder to the include path.
Doesn't actually work, what you get is (verfied using ini_get("include_path") literally

    :/usr/share/php/libzend-framework-php

this of course kills most php apps as even the current directory is no longer included.

Debian doesn't even have that file, should be removed in Ubuntu, too, as it only causes frustration.

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

Well,

the issue is not this file but a bug in PHP5 for ages.

If you don't enable the include_path in php.ini, php will crash, whatever you do.

So, the right fix is to enable include_path in php.ini so the zend-framework.ini can resolve ${include_path}
This is even documented in README.debian in the package.

Setting it to won't fix

Changed in zend-framework (Ubuntu):
status: New → Won't Fix
Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :

Thanks for the quick reply, I wasn't aware that README.Debian is documenting this. PHP does not crash any more if it's not set, though.

Revision history for this message
Stephan Rügamer (sruegamer) wrote : Re: [Bug 1025631] Re: /etc/php5/conf.d/zend-framework.ini does not actually work

well

i would like to sync the debian package but the dont deliver zendx (
this extra add on) last time i looked

i dont use php anymore so i never ran into any issues with it

regards

\sh

Sent from my iPhone

On 17.07.2012, at 13:05, Jakob Unterwurzacher <email address hidden> wrote:

> Thanks for the quick reply, I wasn't aware that README.Debian is
> documenting this. PHP does not crash any more if it's not set, though.
>
> --
> You received this bug notification because you are subscribed to zend-
> framework in Ubuntu.
> https://bugs.launchpad.net/bugs/1025631
>
> Title:
> /etc/php5/conf.d/zend-framework.ini does not actually work
>
> Status in “zend-framework” package in Ubuntu:
> Won't Fix
>
> Bug description:
> /etc/php5/conf.d/zend-framework.ini has the line (by default commented
> out)
>
> include_path=${include_path} ":/usr/share/php/libzend-framework-
> php"
>
> which looks like it appends the zend folder to the include path.
> Doesn't actually work, what you get is (verfied using ini_get("include_path") literally
>
> :/usr/share/php/libzend-framework-php
>
> this of course kills most php apps as even the current directory is no
> longer included.
>
>
> Debian doesn't even have that file, should be removed in Ubuntu, too, as it only causes frustration.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zend-framework/+bug/1025631/+subscriptions

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.