Hi Aaron,
you are right rpm package installation sets up an open_basedir, which
might stop EGroupware from detecting installed PEAR packages. Thought it
usually does not matter, as rpm packages also take care for installing
these PEAR packages and rpm/deb package users seldom have to go to setup.
My questions, did rpm package fail to install required PEAR packages for
your?
Ralf
I installed egroupware-epl-14.1.20140725-1.1.noarch via rpm on a Fedora
20 system. But check_install.php claims non of the pear email packages
are installed.
Warning Checking PEAR pear.horde.org/Horde_Imap_Client (2.16.0) is
installed: False
PEAR::Horde_Imap_Client is needed by: EMailAdmin. You can install it by
running: pear channel-discover pear.horde.org ; pear install
pear.horde.org/Horde_Imap_Client
Warning Checking PEAR pear.horde.org/Horde_Nls (2.0.3) is installed:
False
PEAR::Horde_Nls is needed by: EMailAdmin. You can install it by running:
pear channel-discover pear.horde.org ; pear install
pear.horde.org/Horde_Nls
Warning Checking PEAR pear.horde.org/Horde_Mail (2.1.2) is installed:
False
PEAR::Horde_Mail is needed by: EMailAdmin. You can install it by
running: pear channel-discover pear.horde.org ; pear install
pear.horde.org/Horde_Mail
Warning Checking PEAR pear.horde.org/Horde_Smtp (1.3.0) is installed:
False
PEAR::Horde_Smtp is needed by: EMailAdmin. You can install it by
running: pear channel-discover pear.horde.org ; pear install
pear.horde.org/Horde_Smtp
Passed Checking PEAR::Console_Getopt is installed: True
Warning Checking PEAR::Mail_Mime (1.4.1) is installed: False
PEAR::Mail_Mime is needed by: mail. You can install it by running: pear
install Mail_Mime
Warning Checking PEAR::Mail_mimeDecode is installed: False
PEAR::Mail_mimeDecode is needed by: mail. You can install it by running:
pear install Mail_mimeDecode
I’ve tried
pear install pear.horde.org/Horde_Imap_Client
which installs 2.24.2 along with
pear install pear.horde.org/Horde_Imap_Client-2.16.0
to match the exact version. Neither changes the warning in
check_install.php.
How can I get the packages installed in a way egroupware can see them?
Note: in order to get it running with the new apache I had to make a
couple tweaks to the egroupware.conf. (The open_basedir changes were an
attempt to fix the pear issue).
— etc_orig/httpd/conf.d/egroupware.conf 2014-08-06
05:17:58.778000000 +0000
+++ /etc/httpd/conf.d/egroupware.conf 2014-08-09 21:05:20.988000000
+0000
@@ -16,8 +16,7 @@
<Directory /usr/share/egroupware/>
Options FollowSymLinks ExecCGI
AllowOverride None
- Order allow,deny
- Allow from all
- Require all granted
DirectoryIndex index.html index.php
AddHandler cgi-script .cgi
AddDefaultCharset Off
@@ -35,14 +34,13 @@
php_admin_value mbstring.func_overload 0
php_value memory_limit 128M
php_value include_path .:/usr/share/pear
- php_admin_value
open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/bin/zip:/usr/share/jpgraph:/usr/bin/tnef:/usr/bin/aspell:/usr/share/fonts
- php_admin_value
open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/share/pear-data:/usr/bin/zip:/usr/share/jpgraph:/usr/bin/tnef:/usr/bin/aspell:/usr/share/fonts:/var/lib/php/session
php_value upload_max_filesize 64M
php_admin_value upload_tmp_dir /tmp
php_value post_max_size 65M
php_value max_input_vars 3000
<Files ~ “.inc.php$”>
- Order allow,deny
- Deny from all
Enable the following block in order to redirect logins to HTTPS:
#RewriteEngine On
@@ -64,5 +62,5 @@
<Directory /usr/share/egroupware/gallery/>
- php_admin_value
open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/bin:/bin
- php_admin_value
open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/share/pear-data:/usr/bin:/bin
thank you,
Aaron
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany