• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Issue Cant install pear on Onyx 17

ScottRotton

New Pleskian
Hi
Im running amazon lightsail with built in plesk. An app were trying to install needs Pear, when i try to install it says pear is missing.

I tried to follow this tutorial but it doesnt work, this is my first time using plesk and this is normally easier to follow with other hosting platforms, not sure what im doing wrong.

How to enable PEAR support for the domain in Plesk?


I run this command

# pear config-get php_dir 2>/dev/null; pear_old config-get php_dir 2>/dev/null
/usr/share/pear

get this result
-bash: /usr/share/pear: No such file or directory

I continued to change the config in the guide but it still doesnt work.

Can someone give me step by step guide to this

Thanks for any help
 
Check PHP version for your domain:

Screen Shot 2018-04-17 at 10.00.30.png

And then make sure that pear php package is installed on your server:

# rpm -qa | grep plesk-php71-pear
plesk-php71-pear-1.10.1-centos7.18033013.noarch

Then click to view phpinfo() and check pear settings:

Screen Shot 2018-04-17 at 10.04.10.png
 
i did the above, and found this under phpinfo

include_path .:/usr/share/pear:/usr/share/php .:/usr/share/pear:/usr/share/php

Does that mean its already installed?
 
Back
Top