• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved command pecl and php not found

n3tro

New Pleskian
I have read many posts related to installing packages from plesk php directory using pecl command, for example I need to install apcu, according to this post Resolved - How to install APC/APCu extension for PHP 7.4.x with Ubuntu 20.4.1 LTS
I just need to login to my server via SSH go to directory /opt/plesk/php/7.4/bin and execute command "pecl install apcu" right? but it never worked for me..
pecl command returned "command pecl not found" and I got the same error "command php not found" when trying to execute "php app.php", I can see both pecl and php packages are exist in the directory, am I missing something in my server/plesk configuration? why some pleskians are able to run pecl and php command from the directory mentioned above but I'm not?
 
Last edited:
I have read many posts related to installing packages from plesk php directory using pecl command, for example I need to install apcu, according to this post Resolved - How to install APC/APCu extension for PHP 7.4.x with Ubuntu 20.4.1 LTS
I just need to login to my server via SSH go to directory /opt/plesk/php/7.4/bin and execute command "pecl install apcu" right? but it never worked for me..
pecl command returned "command pecl not found" and I got the same error "command php not found" when trying to execute "php app.php", I can see both pecl and php packages are exist in the directory, am I missing something in my server/plesk configuration? why some pleskians are able to run pecl and php command from the directory mentioned above but I'm not?
type "/opt/plesk/php/7.4/bin/pecl install apcu" instead of "cd /opt/plesk/php7.4/bin/" and "pecl install apcu"
 
Back
Top