Old 1st May 2009, 16:13
Doug_M Doug_M is offline
Junior Member
Join Date: Mar 2009
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default PEAR on CentOS 5.x

In order to get the Pear dir in the include path you need to edit /usr/local/ispconfig/server/conf/vhost.conf.master and add the line in bold to both "# mod_php enabled" sections:

# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>"
php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
#php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5
php_admin_value include_path ".:/usr/share/pear"
For any existing vhosts you may have edit their conf file in /etc/httpd/conf/sites-enabled and add the same line under the mod_php section.
Reply With Quote
The Following User Says Thank You to Doug_M For This Useful Post:
falko (2nd May 2009)
Sponsored Links


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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Centos 5/RHEL 5.x new repository. INF[SZ] Installation/Configuration 1 15th August 2008 21:48
CentOS 5.x + ISPConfig 2.2.13 bradis Installation/Configuration 2 6th June 2007 10:07
PHP Open_basedir and PEAR DaddyFix Installation/Configuration 3 26th October 2006 09:11
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 09:29

All times are GMT +2. The time now is 12:50.

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