• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Installing/Allowing use of PHP PEAR packages?

codecraft

New Pleskian
Hello,

Can anyone point me to a set of instructions for configuring a server using Plesk 10 / Linux to allow hosted websites to use PEAR packages?

Currently, PHP (5.3.3 on my server) appears to be configured using the --without-pear option, and even though Pear is present, using it throws up a lot of errors to do with deprecated functions and won't install anything anyway....

Thanks
Chris
 
Do you mean php-pear? There are nothing should be done to allow pear functions, they are available wide, as well as no special 'enabling' is needed for php-mysql, php-imap or similar..

The only thing you may need to do is to add path to pear files (like /usr/lib/php/pear) into list of paths allowed for domain. It is done with PHP open_basedir variable, please see http://kb.parallels.com/en/432 for examples.
 
Well, usr/lib/php/pear doesn't exist...

I found the files in /usr/share/pear - though I don't know if this is the right one.

Normally, if you need to add a package - you do 'pear install Mail' , or get a list of options just with the command 'pear' - the commands run, but throw up a whole bunch of errors where I guess it isn't compatible with PHP5 (but I know that PEAR is as I'm using on my local machine w/windows - so this must be an out of date copy?)

Using the 'pear install' command again results in a bunch of errors and doesn't get any of the pacakges.
 
Back
Top