Pear not available

Dear developers,

I’m trying to install the newest egroupware and did an installation
check and it fails on PEAR

I installed pear on Debian with apt-get install php4-pear and already
checked the path and included it in php.ini.

Can anybody help me?

TIA

Greetings Eric Schoonderwal


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

I saw this recently and it was specific to PEAR Log.php. Hopefully this
is your case.

Dear developers,

I’m trying to install the newest egroupware and did an installation
check and it fails on PEAR

I installed pear on Debian with apt-get install php4-pear and already
checked the path and included it in php.ini.

Can anybody help me?

TIA

Greetings Eric Schoonderwal


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

Oh dear, guys,

I wish somebody else (more knowlegable on php egw) had solved this stupid
thing. It cost me some frustration!! Well I am new to php and apache2 so I
guess things like this are the price to pay :slight_smile:

Oke, the solution to your “PEAR not included matter” is very simple:

the setting of the include_path in the php.ini file (in debian
/etc/php4/php.ini or something like that) is OVERRULED by the settings in
the egroupware Directory directives (at least if you using e.g.
libapache2-mod-php4 or something like that… I guess …)

Thus the value of the include_path from the file that was distributed with
egw e.g. /etc/apache2/conf.d/egrouware.conf (or whatever you called it)
as set like:

Quote:

…

…
php_value memory_limit 24M
php_value session.gc_maxlifetime 1440
php_value session.save_path /var/lib/egroupware/sessions
php_value include_path .
php_value open_basedir
/opt/share/egroupware:/var/lib/egroupware:/tmp
php_value upload_max_filesize 6M

change the one line into:

Quote:

php_value include_path .:/usr/share/php

and voila it will work. If you have you PEAR stuff indeed there.

success

Jan


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

Hi Jan,

please reoprt this problem to the debian package maintainer.
For me it looks like a bug in the debian package.

cu
cornelius

Oh dear, guys,

I wish somebody else (more knowlegable on php egw) had solved this stupid
thing. It cost me some frustration!! Well I am new to php and apache2 so I
guess things like this are the price to pay :slight_smile:

Oke, the solution to your “PEAR not included matter” is very simple:

the setting of the include_path in the php.ini file (in debian
/etc/php4/php.ini or something like that) is OVERRULED by the settings in
the egroupware Directory directives (at least if you using e.g.
libapache2-mod-php4 or something like that… I guess …)

Thus the value of the include_path from the file that was distributed with
egw e.g. /etc/apache2/conf.d/egrouware.conf (or whatever you called it)
as set like:

Quote:

…

…
php_value memory_limit 24M
php_value session.gc_maxlifetime 1440
php_value session.save_path /var/lib/egroupware/sessions
php_value include_path .
php_value open_basedir

/opt/share/egroupware:/var/lib/egroupware:/tmp

php_value upload_max_filesize 6M

change the one line into:

Quote:

php_value include_path .:/usr/share/php

and voila it will work. If you have you PEAR stuff indeed there.

success

Jan


This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=Click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

–
http://von-und-zu-weiss.de
Phone: +49 2773 745822
Mobile: +49 160 95302679
Skype: nelius_weiss
ICQ: 5227437


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

jvl wrote:

Oke, the solution to your “PEAR not included matter” is very simple:

the setting of the include_path in the php.ini file (in debian
/etc/php4/php.ini or something like that) is OVERRULED by the settings
in
the egroupware Directory directives

What do you near PEAR for in the context of eGroupWare?


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

Hi Cornelius,

you may be right, but I am not sure…

When I found the problem I discarded the idea that it could have something
to do with the debian egroupware package at once. Because of the simple
reason that I DONT HAVE A DEBIAN EGROUPWARE PACKAGE INSTALLED :slight_smile:

I just unpacked the 1.2RC5 tarball from sf.net somewhere and followed some
of the instructions to get it going. So I think no debian specifics here.
Except of course for the php installation, but that I investigated
thoroughly to find a solution for the include_path problem. With no
immediate result as I reported …

However now I think about it twice, and now I listed the tarball again, I
start wondering where the hell I have gotten this apache egroupware config
file from? Actually I have forgotten how I got apache to serve up the
egroupware tree…
I thougt the install instructions had provided this egroupware apache config
file but I cannot find it anywhere anymore in the egroupware tree… Did a
script generate it?

I now vaguely remember that at first I had the idea to build a debian
package for this 1.2rc5 tarball. And for that I inspecte d some debian
source files from the standard sarge egroupware package to re-use them.
Though I gave up on that, I might have copied the egroupware apache config
file from that earlier package, to use it with testing the new tarball… I
just cannot remember …

If this has been indeed the case then your absolutely right:
the maintainer of that old egroupware debian src package is the cause.

But hey, I don’t have it installed, and you will always see, that when I had
really installed that package: the debconf scripts or good install readme’s
would have warned me for it??

Oke, when someday I come to run his debian install code and I get not warned
or don’t read anything on this problem in his debian specific docs, I will
certainly report to him.

Well in the mean time anyone who actually is running the debian egroupware
package should feel more free and confident to report it.
Eric (Schoonderwall) maybe? You seem to run the debian 1.000 variant?

Cornelius, sorry for this long answer to such a simple remark… but I felt a
bit stupid…

Anyhow the problem is solved…

bye
Jan


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

It appears PEAR::Log is (for the moment in 1.2RC5) needed somewhere in the
Ical import/export code.

Probably not PEAR itself, as some have mentioned. I didnot yet have a look
at this code, but did notice that it complains about the absence of PEAR and
that it has still bugs currently.

bye
Jan


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

Thank you so incredibly much! I have already wasted so much time getting stuff to work on my server and just don’t have time for silly crap like this. So you really saved me a bundle!

I have ubuntu and this solved the same problem for me.

The conf file is indeed created by the script for installing it.

I installed the package from the stable dapper dan release, and it was super old, so I upgraded egroupware. For whatever, reason, any time I try and remove php4 it thinks it should remove egroupware completely. So I have this stale php4 junk in my server. I might at some point just try and remove it and then reinstall egroupware from the tar as you did Jan.

The reason I mention this is that the egroupware website says SyncML won’t work with php4 and says if you have it installed as a mod that you have to run php5 as a cgi. Well, I don’t have php4 installed as a mod in my webserver, but in either case, I never got past the installation page saying pear wasn’t there before.

now I have gotten past! thanks!

The pear package and syncml actually enables you to sync the calendar, tasks, and contacts with outlook, which is what I need, and on top of that, pdas and phones (or supposedly, we’ll see, I won’t spend more than a couple days on that. The functionality shiouldn’t be reported if its not tested on a fresh install and new users have to figure things out that we should really not have to…)

John

Oh dear, guys,

I wish somebody else (more knowlegable on php egw) had solved this stupid
thing. It cost me some frustration!! Well I am new to php and apache2 so I
guess things like this are the price to pay :slight_smile:

Oke, the solution to your “PEAR not included matter” is very simple:

the setting of the include_path in the php.ini file (in debian
/etc/php4/php.ini or something like that) is OVERRULED by the settings in
the egroupware Directory directives (at least if you using e.g.
libapache2-mod-php4 or something like that… I guess …)

Thus the value of the include_path from the file that was distributed with
egw e.g. /etc/apache2/conf.d/egrouware.conf (or whatever you called it)
as set like:

Quote:

…

…
php_value memory_limit 24M
php_value session.gc_maxlifetime 1440
php_value session.save_path /var/lib/egroupware/sessions
php_value include_path .
php_value open_basedir
/opt/share/egroupware:/var/lib/egroupware:/tmp
php_value upload_max_filesize 6M

change the one line into:

Quote:

php_value include_path .:/usr/share/php

and voila it will work. If you have you PEAR stuff indeed there.

success

Jan


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers

[/quote]