Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:php:pecl-extension [2017/05/23 13:15]
Jackson Zhang [Compile From Source Code]
litespeed_wiki:php:pecl-extension [2019/11/29 15:58] (current)
Lisa Clarke [See Also] Added GD
Line 99: Line 99:
 Let's look at another example with the PECL imagick extension on a Ubuntu/​Debian machine. Assuming that you have install lsphp70 through LiteSpeed APT repository. Let's look at another example with the PECL imagick extension on a Ubuntu/​Debian machine. Assuming that you have install lsphp70 through LiteSpeed APT repository.
  
-  ​apt-get install ​apt-get install libmagickwand-dev pkg-config build-essential+  apt-get install libmagickwand-dev pkg-config build-essential
   mkdir -p ~/tmp   mkdir -p ~/tmp
   pushd ~/tmp   pushd ~/tmp
Line 106: Line 106:
   cd imagick-3.4.3   cd imagick-3.4.3
     /​usr/​local/​lsws/​lsphp70/​bin/​phpize     /​usr/​local/​lsws/​lsphp70/​bin/​phpize
-    ./configure --with-php-config=/​usr/​local/​lsws/​lsphp70/​bin/​php-config+    ./configure --with-php-config=/​usr/​local/​lsws/​lsphp70/​bin/​php-config7.0
     make     make
     make install     make install
Line 112: Line 112:
     /​usr/​local/​lsws/​bin/​lswsctrl restart     /​usr/​local/​lsws/​bin/​lswsctrl restart
    popd    popd
 + 
 +===== See Also =====
 +
 +  * [[litespeed_wiki:​php:​pecl-extension:​curl|How to Compile the cURL PHP Extension]]
 +  * [[litespeed_wiki:​php:​pecl-extension:​gd|How to Compile the GD PHP Extension]]
  • Admin
  • Last modified: 2017/05/23 13:15
  • by Jackson Zhang