Hi, was looking on the web, but still cannot find solution Need to install eGroupware on my Virtual server with Debian Lenny and ISPconfig 3. When running the preinstallation check of egroupware an error is displayed for PEAR support stating that PEAR is not available. But I am sure that everything was installed: Code: # pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.2 stable Auth 1.6.1 stable Auth_SASL 1.0.3 stable Console_Getopt 1.2.3 stable HTTP_WebDAV_Server 1.0.0RC4 beta Log 1.11.6 stable Net_IMAP 1.1.0 stable Net_Sieve 1.1.7 stable Net_Socket 1.0.9 stable PEAR 1.7.1 stable Structures_Graph 1.0.2 stable XML_Feed_Parser 1.0.3 stable Maybe some changes in vhost.conf or Apache directives in ISPConfig website menu could help? Thx
I'm using "Mod-PHP" and maybe there is solution... I did follows: - download package from http://sourceforge.net/projects/egroupware/files/ - eGroupware-egw-pear-1.6.002.tar.gz unpack to the egroupware install directory (/var/www/clientx/webx /web/egroupware - edit @mydomain.com.vhost file in /etc/apache2/sites-enable/ and add this paths Code: php_admin_value open_basedir /var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/usr/share/php5:/usr/share/php:/usr/share/php/PEAR:/usr/etc:/etc/pear/ - after this there was only last error : Code: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/etc/pear.conf) is not within the allowed path(s): etc........ Copy file "pear.conf" from /etc/pear to /usr/etc solved this... I'm not sure if this is "clear" solution, but everything seems to be OK now..
You should change the open_basedir path also in the vhost.master template in /usr/local/ispconfig/server/conf/. Otherwise the modification of the vhost will be undone when you edit the vhost settings in ispconfig the next time.
thanks for the advice So I proceed to the next step - Configuration and got following error: Configuration not completed Your files directory ‘/var/lib/egroupware/default/files’ does not exist** Your backup directory ‘/var/lib/egroupware/default/backup’ does not exist** I made this folders: (files should be outside web root directory) Code: ~# ls -l /var/egw total 12 drwxrwxrwx 2 root root 4096 2010-01-23 15:15 backup drwxrwxrwx 2 root root 4096 2010-01-23 15:40 files drwxrwxrwx 2 root root 4096 2010-01-23 15:40 temp and changed path for /files and /backup to /var/egw directory, but still got error... Neither change Code: chown -R web2:client1 /var/egw didn't help FYI root of web pages: Code: ls -l /var/www/clients/client1/web2/web total 176 drwxr-xr-x 34 root root 4096 2010-01-23 11:46 egroupware drwxr-xr-x 2 web2 client1 4096 2010-01-22 19:31 error -rwxr-xr-- 1 web2 client1 1406 2010-01-22 19:31 favicon.ico -rwxr-xr-- 1 web2 client1 1861 2010-01-22 19:31 index.html -rw-r--r-- 1 root root 148733 2010-01-22 20:09 index.html.1 -rwxr-xr-- 1 web2 client1 34 2010-01-22 19:31 robots.txt drwxr-xr-x 2 root root 4096 2010-01-23 00:30 stats
egroupware may never write to a directory /var/lib/egroupware as this is a securiity vioaltion on a hosting system. I guess you set wrong directories in egroupware as you installed it. Every directory egroupware may access must be within /var/www/clients/client1/web2/. /var/egw is also a very bad choice for a web application. never choose a directory outside of the web root. Check the egroupware config files and change the paths for files and backup to e.g. /var/www/clients/client1/web2/files and /var/www/clients/client1/web2/backup
Still no success Your backup directory ‘/var/www/clients/client1/web2/backup’ does not exist Code: # ls -l /var/www/clients/client1/web2 total 52 drwxrwxrwx 2 root root 4096 2010-01-23 16:15 backup . . nor Code: ls -l /var/www/clients/client1/web2 total 52 drwxrwxrwx 2 web2 client1 4096 2010-01-23 16:15 backup
What is the current open_basedir restriction that you have set for the website? If it does not contain /var/www/clients/client1/web2, then change /var/www/clients/client1/web2/web to /var/www/clients/client1/web2 or add /var/www/clients/client1/web2
i am using suexec and fastcgi. pear is installed but missing during egroupware 1.8 checking. Checking PEAR is installed: False Checking PEAR::Auth_SASL is installed: False Checking PEAR::XML_Feed_Parser is installed: False pear list Archive_Tar 1.3.2 stable Auth 1.6.1 stable Auth_SASL 1.0.4 stable Console_Getopt 1.2.3 stable PEAR 1.7.1 stable Structures_Graph 1.0.2 stable XML_Feed_Parser 1.0.4 stable my egroupware is installed to /var/www/clients/client2/web3/web/egroupware pls advise what should be done.