I would like to refresh this. Please note, this is specific to Plesk:
Make sure open_basedir
contains:
-
files_dir
as given inconfig.inc.php
- folder of OJS installation (e.g.
httpsdocs
) - PATH to actually working PEAR version, e.g.
/opt/plesk/php/7.4/share/pear
Make sure include_dir
contains:
- PATH to actually working PEAR version, e.g.
/opt/plesk/php/7.4/share/pear
- set this PATH as the first in the list (!)
Check to set the current version of PHP (in this example php7.4) in .bash_profile
alias php='/opt/php74/bin/php'
export PATH=/opt/php74/bin:$PATH