#1  
Old 19th May 2012, 23:38
DodgeThis DodgeThis is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Default Could not find Pear DB library

Recently i update my ispconfig3 to 3.0.4.4 but now users can't change passwords on squirrelmail webmail.

when they try to change they password squirrelmail shows 'Could not find Pear DB library'

what i can do??
i have used this how to configure the plugins.

I'm using debian squeeze
and used:
http://www.howtoforge.com/perfect-se...ot-ispconfig-3
and
http://www.howtoforge.com/how-to-con...onfig-3-server

Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.7 stable
Auth 1.6.2 stable
Console_Getopt 1.2.3 stable
DB 1.7.14 stable
PEAR 1.9.1 stable
Structures_Graph 1.0.3 stable
XML_Util 1.2.1 stable

Last edited by DodgeThis; 20th May 2012 at 14:29.
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2012, 09:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,438
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

Check the /etc/apache2/conf.d/squirrelmail.conf file, if it contains a open besdire path restrictions, then ensure that the location were there pear libraries are installed on your server are included in that path.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
DodgeThis (22nd May 2012)
  #3  
Old 22nd May 2012, 11:23
DodgeThis DodgeThis is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Check the /etc/apache2/conf.d/squirrelmail.conf file, if it contains a open besdire path restrictions, then ensure that the location were there pear libraries are installed on your server are included in that path.
Hi Till thanks for your reply but i'm little bit confused.
Here is my squirrelmail.conf.

Code:
Alias /squirrelmail /usr/share/squirrelmail
Alias /webmail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail>
  Options FollowSymLinks
  <IfModule mod_php5.c>
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_value include_path .
    php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
    php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
    php_flag register_globals off
  </IfModule>
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>

  # access to configtest is limited by default to prevent information leak
  <Files configtest.php>
    order deny,allow
    deny from all
    allow from 127.0.0.1
  </Files>
</Directory>

# users will prefer a simple URL like http://webmail.example.com
#<VirtualHost 1.2.3.4>
#  DocumentRoot /usr/share/squirrelmail
#  ServerName webmail.example.com
#</VirtualHost>

# redirect to https when available (thanks omen@descolada.dartmouth.edu)
#
#  Note: There are multiple ways to do this, and which one is suitable for
#  your site's configuration depends. Consult the apache documentation if
#  you're unsure, as this example might not work everywhere.
#
#<IfModule mod_rewrite.c>
#  <IfModule mod_ssl.c>
#    <Location /squirrelmail>
#      RewriteEngine on
#      RewriteCond %{HTTPS} !^on$ [NC]
#      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
#    </Location>
#  </IfModule>
#</IfModule>
Should i put the plugins folder somewhere here?
Reply With Quote
  #4  
Old 23rd May 2012, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please change
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
to
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd May 2012, 16:18
DodgeThis DodgeThis is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Please change
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
to
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
Thanks for your reply but still doesn't work.
Any suggestion?
Reply With Quote
  #6  
Old 25th May 2012, 06:17
dreamsky dreamsky is offline
Junior Member
 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

do this

Quote:
Originally Posted by falko View Post
Please change
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
to
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
and this

try to remove php_value include_path .

so your /etc/apache2/conf.d/squirrelmail.conf

like this

PHP Code:
<Directory /usr/share/squirrelmail>
  
Options FollowSymLinks
  
<IfModule mod_php5.c>
    
AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_admin_value upload_tmp_dir 
/var/lib/squirrelmail/tmp
    php_admin_value open_basedir 
/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
    php_flag register_globals off
  
</IfModule>
  <
IfModule mod_dir.c>
    
DirectoryIndex index.php
  
</IfModule

TY to Mr. Anton

Last edited by dreamsky; 25th May 2012 at 07:18.
Reply With Quote
The Following User Says Thank You to dreamsky For This Useful Post:
DodgeThis (25th May 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Cron issue in Debian 6 Nolan Installation/Configuration 6 18th April 2011 16:36
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 14:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.