Add new comment | Drupal 8

Add new comment

Oleg Abrazhaev (not verified)

Sun, 11/06/2016 - 11:30

I have installed both php5.6 and php7.0 on my Ubuntu and now I want to install libevent to php7
It's alreadey installed for php5.6 but how to install it to php7.0 too?

I have tied this commands and it's doesn't help

sudo update-alternatives --set php /usr/bin/php7.0

sudo pecl config-set php_ini /etc/php/7.0/cli/php.ini
sudo pecl config-set ext_dir /usr/lib/php/20151012/
sudo pecl config-set bin_dir /usr/bin/
sudo pecl config-set php_bin /usr/bin/php7.0
sudo pecl config-set php_suffix 7

pecl list still shows me that libevent installed, but it's in modules list only for php5.6 ...

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.