ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] ## ubuntu ``` sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php8.2 sudo apt-get install php8.2-mysql php8.2-curl php8.2-json php8.2-dev php8.2-mbstring php8.2-ctype php8.2-dom php8.2-gd php8.2-openssl php8.2-simplexml php8.2-xml php8.2-fpm php8.2-opcache php8.2-cli php8.2-apcu ``` 安装 pgsql ``` sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt update sudo apt install php8.3-pgsql ```