• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

PEAR in command line?

R

rubencausyn

Guest
Is it possible to use the pear install commands in the command line? when I try this, i get following error:

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: undefined symbol: usmAES192PrivProtocol in Unknown on line 0

Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/httpd/vhosts/) in pearcmd.php on line 42

Warning: main(PEAR.php): failed to open stream: Operation not permitted in pearcmd.php on line 42
PHP Fatal error: main(): Failed opening required 'PEAR.php' (include_path='/usr/share/pear') in /usr/share/pear/pearcmd.php on line 42

Fatal error: main(): Failed opening required 'PEAR.php' (include_path='/usr/share/pear') in /usr/share/pear/pearcmd.php on line 42


What do I need to change to make this work?
 
can someone explain the work around for this command line part? I need to run some pearl install but I have the same error message. oh and the server is on fedora 1
 
open_basedir

Hi!

You may want to check your /etc/php.ini values to ensure that the right pear directory is in your include path and that open_basedir is set to 'none' by default (or at least includes the pear path).

Will Kelly
 
Back
Top