Ppa:personal Package Archives Personal Packages Archive
Url:https://launchpad.net
Basic format: User/ppa-name
Apt-transport-https Lsb-release Ca-certificates
安装软件源拓展工具:sudo apt install -y software-properties-common
使用方法: 添加: sudo add-apt-repository ppa:user/ppa-name 添加完更新: sudo apt update 删除:sudo add-apt-repository -r ppa:user/ppa-name 删除ppa保存的相应文件: cd /etc/apt/sources.list.d 更新源:sudo apt update
Configure PHP environment with PPA: Install php7.2: Add Source: sudo add-apt-repository ppa:ondrej/php update: sudo apt update installation: a PT install php7.2-fpm php7.2-mysql php7.2-curl php7.2-gd php7.2-mbstring php7.2-xml php7.2-xmlrpc php7.2-zip Php7.2-opcache-y Configuration: Vim/etc/php/7.2/fpm/php.ini cgi.fix_pathinfo=0 Vim php-fpm.conf, configured as follows, the package has been configured, in fact, nothing to change listen =/tmp/php/php-cgi.sock user = www Group = www View more extensions: Apt-cahce search php7.2 Operation: systemctl restart PHP7.2-FPM #重启 systemctl start php7.2-fpm #启动 systemctl s Top php7.2-fpm #关闭 systemctl status php7.2-fpm #检查状态 Create www User: Groupadd-g www useradd-u 80-g www www can replace the www-data user in the configuration with www User Nginx, MySQL installation is similar to
Ubuntu use PPA + use PPA to build PHP environment