||1st May 2009 16:13
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.
|All times are GMT +2. The time now is 16:24.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.