• 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.

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