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:
Code:
# 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.
Recent comments
11 hours 25 min ago
14 hours 20 min ago
15 hours 34 min ago
16 hours 58 min ago
18 hours 35 min ago
20 hours 4 min ago
21 hours 18 min ago
1 day 13 hours ago
1 day 14 hours ago
1 day 17 hours ago