Re: How use PEAR when include_path cannot be set?
| From: | Christian Weiske | Date: | Sat, 27 Dec 2008 18:00:35 +0000 |
| Subject: | Re: How use PEAR when include_path cannot be set? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29544@lists.php.net to get a copy of this message | ||
Hello Markus,
> Now this worked fine so far, but now ini_set() started to fail on one
> server. The provider informed me that PHP 5.2 does not allow setting
> an include_path via ini_set() or set_include_path(), if there is
> already one set at domain level in the Apache config.
This is wrong. You may override it via set_include_path except it has
been set via php_admin_value: http://us2.php.net/configuration.changes
This is a problem your provider can fix.
>
> Now this looks like a major problem to me in shared hosting
> environments; I would not want an application be dependent on
> server-side settings that can only be changed by the ISP's support
> crew, and I don't either want to edit the PEAR class files. Is there
> a recommended way to handle this in PEAR? Such as a constant or an
> option that could be set to tell PEAR about the correct include path?
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc