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

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue X2CRM installation Failed

CobraArbok

Regular Pleskian
I'm trying to install X2CRM with Softaculous, but the installation keeps crashing at 6%.
So I wanted to install it manually and I launch their requirements.php, but this warn me of problems.
How can I solve them?

This is the message:
Unfortunately, your server does not meet the minimum system requirements;
  • Usage of the system temporary directory, according to "sys_get_temp_dir", is either unknown or not permitted. Google integration will not work.
  • ssh2 extension: required but missing. The FileUtil class needs the SSH2 extension to use SSH as a file operation method.
  • The path defined in session.save_path (/var/lib/php/sessions) is not writable.
 
I've installed: plesk-php-71-dev, libc6-amd64, libssh2-1-dev, zlib1g-dev.
(I hope they are the right packages)

Then the pecl is command not found.
 
Check /opt/plesk/php/7.1/bin/pecl
It should be there if package plesk-php-71-dev correctly installed.
In this folder, with ls I see pecl, but then the command is always not found.
Also simply pecl is command not found.
 
Well, here is instruction for PHP7.1 and CentOS. Adapt it for your Ubuntu packages name case.

# yum install libssh2-devel make gcc plesk-php71-devel
# wget http://pecl.php.net/get/ssh2-1.1.2.tgz
# tar -xzf ssh2-1.1.2.tgz
# cd ssh2-1.1.2/
# /opt/plesk/php/7.1/bin/phpize
# ./configure --with-php-config=/opt/plesk/php/7.1/bin/php-config
# make
# make install
# echo "extension = ssh2.so"> /opt/plesk/php/7.1/etc/php.d/ssh2.ini
# plesk bin php_handler --reread

As result we have loaded ssh2 module for PHP7.1:

# /opt/plesk/php/7.1/bin/php -m | grep ssh2
ssh2
 
Back
Top