Ubuntuphp7.0.33升级php7.2.24

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;


网站标题:Ubuntuphp7.0.33升级php7.2.24
文章URL:http://hxwzsj.com/article/jihgsj.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 成都定制网站建设 移动网站建设 手机网站建设 成都网站建设公司 成都网站建设 成都响应式网站建设 成都网站设计 专业网站建设 成都网站建设 网站制作 成都网站建设 网站制作公司 网站设计制作报价 重庆网站设计 品牌网站建设 成都网站制作 盐亭网站设计 网站建设开发 成都品牌网站建设 成都网站建设 成都网站建设 网站建设方案