Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simply-static domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
树莓派安装cURL

树莓派安装cURL

树莓派的部分插件需要cURL依赖,比如ssl,目前网上提供的方式非常单一,基本如下:

wget http://curl.haxx.se/download/curl-7.80.0.tar.gz

2. tar -xzvf curl-7.80.0.tar.gz

3. cd curl-7.80.0/

4. ./configure 耗时2分钟左右

5. make

6. sudo make install

以上方式实际使用安装过程麻烦而且易出问题,现提供一个简单的方式:

sudo apt-get install php7.4-curl (我用的是php7.4,各位根据自己的版本修改即可)

安装完成后需要重启apache

sudo service apache2 restart