• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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