您好,登錄后才能下訂單哦!
An uncaught Exception was encountered
Type: TypeError
Message: Return value of Elasticsearch\ClientBuilder::buildLoggers() must be an instance of Elasticsearch\void, none returned
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.2
php -v 驗證
sudo apt-get install php7.2-fpm
sudo apt-get install php7.2-mbstring
sudo apt-get install php7.2-xml
sudo apt-get install php7.2-dev
sudo apt-get install php7.2-mysql
sudo apt-get install php7.2-sqlite3 php7.2-tidy php7.2-curl
git clone https://github.com/phpredis/phpredis
cd phpredis/
phpize
which php-config7.2
./configure --with-php-config=/usr/bin/php-config7.2
make
make test
sudo make install
修改php.ini
extension=redis.so
修改nginx
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。