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
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.
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
Hi, Pear is not installed. I have find a documentation in french http://php.developpez.com/cours/installationpear/ Thanks for your help
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:.:.
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+
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:[email protected]: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
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.
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" ;
I dont think that a global include will work. The suphp wrapper script is made to prevent this. You will have to install pear locally in the website. The error message you got menas that the xml extension is missing. have you installed all php modules as described in the perfect setup guide?