php

  1. ubuntu 系统安装php7.0并在apache2下访问要点记录
sudo a2dismod mpm_event
sudo a2enmod php7.0
  1. ubuntu composer.phar安装
php -r "readfile('https://getcomposer.org/installer');" | php
  1. ubuntu所有php扩展php-7.0扩展列表
sudo apt-get install php7.0-bcmath 
sudo apt-get install php7.0-bz2 
sudo apt-get install php7.0-calendar 
sudo apt-get install php7.0-ctype 
sudo apt-get install php7.0-curl 
sudo apt-get install php7.0-dom 
sudo apt-get install php7.0-enchant 
sudo apt-get install php7.0-exif 
sudo apt-get install php7.0-fileinfo 
sudo apt-get install php7.0-ftp 
sudo apt-get install php7.0-gd 
sudo apt-get install php7.0-gettext 
sudo apt-get install php7.0-gmp 
sudo apt-get install php7.0-iconv 
sudo apt-get install php7.0-intl 
sudo apt-get install php7.0-json 
sudo apt-get install php7.0-ldap 
sudo apt-get install php7.0-mbstring 
sudo apt-get install php7.0-mysqli 
sudo apt-get install php7.0-mysqlnd 
sudo apt-get install php7.0-opcache 
sudo apt-get install php7.0-pdo 
sudo apt-get install php7.0-phar 
sudo apt-get install php7.0-posix 
sudo apt-get install php7.0-pspell 
sudo apt-get install php7.0-readline 
sudo apt-get install php7.0-shmop 
sudo apt-get install php7.0-simplexml 
sudo apt-get install php7.0-snmp 
sudo apt-get install php7.0-soap 
sudo apt-get install php7.0-sockets 
sudo apt-get install php7.0-sqlite3 
sudo apt-get install php7.0-sysvmsg 
sudo apt-get install php7.0-sysvsem 
sudo apt-get install php7.0-sysvshm 
sudo apt-get install php7.0-wddx 
sudo apt-get install php7.0-xml 
sudo apt-get install php7.0-xsl
sudo apt-get install php7.0-recode 
sudo apt-get install php7.0-dba 
sudo apt-get install php7.0-imap 
sudo apt-get install php7.0-interbase 
sudo apt-get install php7.0-odbc 
sudo apt-get install php7.0-pgsql 
sudo apt-get install php7.0-tidy 
sudo apt get install php7.0-zip
  1. composer 显示安装过程
composer install --no-progress --profile --prefer-dist -vvv
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值