Ubuntu using PPA + using PPA to build PHP environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.