• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

PHP Pear include_path vhost.conf problem

N

NateB

Guest
Seen lots of stuff around the net regarding Plesk Panel and PHP PEAR problems.

Created the vhost.conf file with the proper directives.

Ran websrvmng. Verified the inclusion of vhost.conf in httpd.include.

Restart webserver, check phpinfo(), and the include_path is still set to the previous value.

Any suggestions? What am I doing wrong? HELP!!!!. Have several old scripts using PEAR functions that now magically don't work.

And...WHY is PEAR so fubar in plesk? (don't answer)
 
Doesn't work.

I've seen the php_admin_value using two different syntaxes.

One with quotes around the value, your link without quotes.

Neither works.

I have Safe Mode disabled in the main php.ini file.
 
For now, I've solved the problem setting the include_path in php.ini.

Would still like to know how to get the per host config directives to work though.
 
Hello,

Please make sure that you are referencing /usr/share/psa-pear not /usr/share/pear
 
Back
Top