Re: DB_DataObject, to work what do I need
| From: | Peter J. Schoenster | Date: | Sun, 08 Sep 2002 06:38:30 +0000 |
| Subject: | Re: DB_DataObject, to work what do I need | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8934@lists.php.net to get a copy of this message | ||
> > I have NO direct control over the php.ini file. It seems that this
> > file is telling pear and php where to find things, even when run at
> > the command line. If I could override that .....
>
> ini_set function is available ?
I don't know.
> ini_set('include_path','.:/:/path/to/pear'); // where '/' is the
> root
> folder (if host runs with chroot) htacces file ? you can define ini_set
> in the root htaccess file.
> PEAR is nothing else than php libraries, all you need is to set your
> include path to the pear folder.
>
> How is your actual config (include_path in php.ini) ?
> bash-2.05$ ls -la /etc/php.ini
> -rw-r--r-- 1 root root 23722 Jul 1 03:15 /etc/php.ini
contains:
include_path = ".:/php/includes:/usr/share/php"
but when running this:
http://www.readbrazil.com/info.php
it says that php.ini is here:
/usr/local/Zend/etc/php.ini
but that does not show up via whereis, and the include_path is
include_path = ;
But where does php or pear to look to for location of libraries if run from the command line, which
I understand I must do to get the latest Pear libraries. Can I stick
something in my shell login file?
Thanks for your persistence. I'd really like to use this Pear stuff (the latest).
Peter