1. 程式人生 > 實用技巧 >JavaScript基礎學習(一)

JavaScript基礎學習(一)

技術標籤:phplinuxcentosnginxthinkphp

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!