zoukankan      html  css  js  c++  java
  • Ubuntu18.04安装PHP7.3

    分享一下在Linux-Ubuntu系统下安装PHP环境的一小点知识,如有偏差错误的,请各位学友多多指教哈!

    sudo apt-get install software-properties-common python-software-properties

           sudo add-apt-repository ppa:ondrej/php && sudo apt-get update

    sudo apt-get -y install php7.3

    PS: -y指的是什么呢,指的是在你安装的时候会再一次跳出一个要你再次确认的信息,这里加-y就不在需要,可直接执行


           PS:如果之前有其他版本PHP,在这边禁用掉
           sudo a2dismod php5
           sudo a2enmod php7.3

           PS:安装常用扩展
           sudo -y apt-get install php7.3-fpm php7.3-mysql php7.3-curl php7.3-json php7.3-mbstring php7.3-xml php7.3-intl

           PS:安装其他扩展(按需安装)
           sudo apt-get install php7.3-gd
           sudo apt-get install php7.3-soap
           sudo apt-get install php7.3-gmp
           sudo apt-get install php7.3-odbc
           sudo apt-get install php7.3-pspell
           sudo apt-get install php7.3-bcmath
           sudo apt-get install php7.3-enchant
           sudo apt-get install php7.3-ldap
           sudo apt-get install php7.3-opcache
           sudo apt-get install php7.3-readline
           sudo apt-get install php7.3-sqlite3
           sudo apt-get install php7.3-xmlrpc
           sudo apt-get install php7.3-bz2
           sudo apt-get install php7.3-interbase
           sudo apt-get install php7.3-pgsql
           sudo apt-get install php7.3-recode
           sudo apt-get install php7.3-sybase
           sudo apt-get install php7.3-xsl
           sudo apt-get install php7.3-cgi
           sudo apt-get install php7.3-dba
           sudo apt-get install php7.3-phpdbg
           sudo apt-get install php7.3-snmp
           sudo apt-get install php7.3-tidy
           sudo apt-get install php7.3-zip

  • 相关阅读:
    Python NLP入门教程
    一个月入门Python爬虫,轻松爬取大规模数据
    Python爬虫实战案例:爬取爱奇艺VIP视频
    探索Python F-strings是如何工作
    Ruby 和 Python 分析器是如何工作的?
    超级干货,python常用函数大总结
    Python 开发者的 6 个必备库,你都了解吗?
    神经网络中 BP 算法的原理与 Python 实现源码解析
    新手程序员必学的代码编程技巧
    零基础小白怎么用Python做表格?
  • 原文地址:https://www.cnblogs.com/btsn/p/11244887.html
Copyright © 2011-2022 走看看