• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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