Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th March 2007, 15:25
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 11 Times in 7 Posts
Default Error squirrelmail witch mysql

I wand use mysql for storage address

I'm create a database and configures squirrelmail

But i have this error with configtest (https://domain.tld:81/webmail/src/configtest.php)

Checking database functions...

ERROR: Required PHP PEAR DB support is not available. Is PEAR installed and is the include path set correctly to find DB.php? The include path is now:.:.


Thanks
Reply With Quote
Sponsored Links
  #2  
Old 17th March 2007, 18:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,503
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

The ISPConfig PHP installation for the webserver on port 81 does not contain pear. You can try to install pear manually with the pear installer and then set the include patch for the ISPConfig PHP to use this pear installation.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th March 2007, 20:08
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 11 Times in 7 Posts
Default

How to install pear for the ispconfig?
Reply With Quote
  #4  
Old 18th March 2007, 19:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

PEAR is already installed: /root/ispconfig/php/bin/pear

You can install new PEAR packages as described here: http://pear.php.net/manual/en/installation.cli.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 18th March 2007, 20:08
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 11 Times in 7 Posts
Default

Hi,

Pear is not installed.

I have find a documentation in french

http://php.developpez.com/cours/installationpear/

Thanks for your help
Reply With Quote
  #6  
Old 26th December 2008, 22:19
kidalabama kidalabama is offline
Junior Member
 
Join Date: Aug 2008
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default i have got same problem

how can i active ispconfig's apache server PEAR support?

squirrel mail addressbook not running without PEAR.
the error is:
ERROR: Required PHP PEAR DB support is not available. Is PEAR installed and is the include path set correctly to find DB.php? The include path is now:.:.
Reply With Quote
  #7  
Old 27th December 2008, 18:14
mccharlet mccharlet is offline
Senior Member
 
Join Date: Feb 2007
Posts: 261
Thanks: 60
Thanked 11 Times in 7 Posts
Default

Hi,

You must download the pear package http://pear.php.net/packages.php
and you configure the include_path to the /root/ispconfig/php/php.ini file

A+
__________________
Thanks
Cédric

Sorry for my english

Hosting : http://www.jheberge.ch
Reply With Quote
  #8  
Old 28th December 2008, 12:45
kidalabama kidalabama is offline
Junior Member
 
Join Date: Aug 2008
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default pear install ispconfig problem

lynx -source http://pear.php.net/go-pear |sudo ./php -q

i used this command but i get this error message


Welcome to go-pear!

Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.

Go-pear also lets you download and install the following optional PEAR
packages: PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, MDB2.


If you wish to abort, press Control-C now, or press Enter to continue:

HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation prefix ($prefix) : /root/ispconfig/php
2. Temporary files directory : $prefix/temp
3. Binaries directory : $prefix/bin
4. PHP code directory ($php_dir) : $prefix/PEAR
5. Documentation base directory : $php_dir/docs
6. Data base directory : $php_dir/data
7. Tests base directory : $php_dir/tests

1-7, 'all' or Enter to continue:

The following PEAR packages are bundled with PHP: PEAR_Frontend_Web-beta,
PEAR_Frontend_Gtk2, MDB2.
Would you like to install these as well? [Y/n] :

Loading zlib: failed
Downloading uncompressed packages

Bootstrapping Installer...................
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok

Extracting installer..................
Downloading package: PEAR.............ok
Downloading package: Structures_Graph....ok

Preparing installer..................

XML Extension not found

Last edited by kidalabama; 28th December 2008 at 12:47.
Reply With Quote
  #9  
Old 29th December 2008, 12:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I think it's enough if you use the same include_path in /root/ispconfig/php/php.ini as in your normal php.ini. You can then use the "normal" PEAR to install packages.
__________________
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
  #10  
Old 29th December 2008, 15:34
kidalabama kidalabama is offline
Junior Member
 
Join Date: Aug 2008
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default php.ini file.

in /etc/php5/ folder php.ini file include_path comment out.

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/usr/share/php"

i cant understand, what did you say.

in the /root7ispconfig/php/ folder, this value is

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;

Last edited by kidalabama; 29th December 2008 at 15:38. Reason: in the /root7ispconfig/php/ folder, this value is
Reply With Quote
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
Messed up ISPConfig-2.2.8 Upgrade Morons Installation/Configuration 4 29th November 2006 12:17
MySQL Cluster On FC5 : error while unpacking from engine asyadiqin HOWTO-Related Questions 7 28th October 2006 17:37
I'm dying! m u r Installation/Configuration 41 17th September 2006 13:44
Error witch PatchVirtual Users And Domains With Postfix, Courier And MySQL pontifex HOWTO-Related Questions 3 30th December 2005 23:29
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 21:46.


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