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?
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: