How to enable PEAR support for the domain in Plesk?




  • Avatar
    Scott Rotton

    These instructions are hard to understand, need to be rewritten

  • Avatar
    Alexandr Tumanov

    @Scott, article was edited.

  • Avatar
    Darren Edwards (Edited )

    Probably best to expand a little on the explanations, for example, the include directive may have already been altered previously for some plugin or app, and so having the statement `Set the following value for include_path` is not quite right. Maybe use `change` or `ensure the path includes the values`.

    `Add the following to open_basedir` seems good enough an explanation, bearing in mind the on page instructions already found on the php settings form.

    The two items that state `(use path from step 1):` need to be removed as they are misleading and incorrect.

    However, I found this to be a useful nugget of information, as I have previously had to load PEAR manually in the past, and this is so much easier. Thanks Guys.

  • Avatar
    Ivan Postnikov

    Hello @Darren,

    Thank you for the feedback.

    I'm glad that this article was helpful.

    The article will be reviewed.

  • Avatar

    I need to send mail trough PHP pear smtp mail functions, I am not sure if I need to manually install php-pear-Mail.noarch or it should already be installed since I have the /usr/share/pear with pear files there.

  • Avatar
    Lev Iurev

    Hello @adrianTNT


    If pear is already installed you could check installed modules by the following command:

    pear list

    pear list-all  will list all packages, packaged and/or available. To install the package the command 'pear install' should be used.

    Additional details here:


Please sign in to leave a comment.

Have more questions? Submit a request