zoukankan      html  css  js  c++  java
  • centos7系统php7.2安装composer依赖

    centos7系统php7.2安装composer依赖

    1.安装composer

    # wget https://install.phpcomposer.com/installer
    mv installer composer-setup.php
    # 执行download下载composer工具
    php composer-setup.php

    2.切换到apache用户和系统根目录,安装相关的依赖,会在根目录下生成vendor文件夹

    su apache
    cd /data/www/vhosts/demoair-api.chinasoft.com/httpdocs
    
    [/vhosts/demoair-api.chinasoft.com/httpdocs]$ composer.phar install
    As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
      - Downloading doctrine/inflector (2.0.3)
      - Downloading doctrine/lexer (1.2.1)
      - Downloading symfony/polyfill-php80 (v1.20.0)
     ...
     ...
      - Installing phar-io/manifest (1.0.3): Extracting archive
      - Installing myclabs/deep-copy (1.10.2): Extracting archive
      - Installing phpunit/phpunit (8.5.9): Extracting archive
    Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
    Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files
    46 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
  • 相关阅读:
    域环境的搭建 (超级详细)
    sqli-labs(10)
    sqli-labs(9)
    mysql源码安装(5.1)
    查看mysql apache php nginx的编译参数
    LAMP的安装
    Mysql的安装(二进制免编译包) 5.1版本
    更改yum网易 阿里云的yum源。
    yum安裝的包如何保留到本地
    磁盘分区
  • 原文地址:https://www.cnblogs.com/reblue520/p/14184888.html
Copyright © 2011-2022 走看看