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:curl [2020/04/12 16:15]
qtwrk
litespeed_wiki:php:pecl-extension:curl [2023/02/26 02:39]
qtwrk
Line 10: Line 10:
  
 <​code>​ <​code>​
-rpm -ivh http://​www.city-fan.org/​ftp/​contrib/​yum-repo/​city-fan.org-release-2-1.rhel7.noarch.rpm+rpm -ivh http://​www.city-fan.org/​ftp/​contrib/​yum-repo/​city-fan.org-release-3-6.rhel7.noarch.rpm
 yum-config-manager --enable city-fan.org yum-config-manager --enable city-fan.org
 yum clean all yum clean all
Line 27: Line 27:
 In this example, we use PHP 7.4 and compile the extension from source. In this example, we use PHP 7.4 and compile the extension from source.
  
-<​code>​wget https://​www.php.net/​distributions/​php-7.4.4.tar.gz+<​code>​wget https://​www.php.net/​distributions/​php-7.4.33.tar.gz
  
-tar xzvf php-7.4.4.tar.gz+tar xzvf php-7.4.33.tar.gz
  
-cd php-7.4.4/ext/curl+cd php-7.4.33/ext/curl
  
 /​usr/​local/​lsws/​lsphp74/​bin/​phpize /​usr/​local/​lsws/​lsphp74/​bin/​phpize
Line 45: Line 45:
 ===== Restart and Verify ===== ===== Restart and Verify =====
  
-Restart lsphp if necessary, and check the PHPinfo page again. +Restart lsphp by command ''​pkill lsphp'' ​if necessary, and check the PHPinfo page again.
- +
-{{ :​litespeed_wiki:​php:​pecl-extension:​lsphp-curl2.jpg |}} +
  
 +{{:​litespeed_wiki:​php:​pecl-extension:​lsphp-curl2.png|}}
  
  • Admin
  • Last modified: 2023/02/26 02:39
  • by qtwrk