1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PEAR include path being ignored in 9.5.1

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Matthew James, May 6, 2010.

  1. Matthew James

    Matthew James Basic Pleskian

    21
    73%
    Joined:
    Dec 7, 2009
    Messages:
    71
    Likes Received:
    1
    Hi,

    It seems that the php PEAR include path is being ignored in 9.5.1 as my scripts that use PEAR components have now stopped working with the error:

    Fatal error: require_once() [function.require]: Failed opening required 'Net/EPP/Client.php' (include_path='.:/usr/share/pear:')

    So, it still knows the include path also includes /usr/share/pear yet it does not manage to open the files (even though they are all there and were working fine on Plesk 9.3).

    The local include path still works though but it's a lot of hassle to move all the scripts in /usr/share/pear.

    Any ideas?

    Thanks
     
  2. Yves Vogl

    Yves Vogl Basic Pleskian

    24
    57%
    Joined:
    Feb 5, 2009
    Messages:
    41
    Likes Received:
    0
    Have you been able to fix this issue?
     
  3. Matthew James

    Matthew James Basic Pleskian

    21
    73%
    Joined:
    Dec 7, 2009
    Messages:
    71
    Likes Received:
    1
    Yes I did, I just turned off safe mode and it all worked ok.
     
Loading...