Home  >  Article  >  Backend Development  >  The Cache directory location of the Composer installation package in Windows 7 environment, windows7composer_PHP tutorial

The Cache directory location of the Composer installation package in Windows 7 environment, windows7composer_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:21:361008browse

The Cache directory location of the Composer installation package in Windows 7 environment, windows7composer

http://segmentfault.com/a/1190000000355928

https://getcomposer. org/doc/

Let’s talk about the usage of Composer later. Now we only record the Cache directory of the Composer installation package in the Windows 7 environment. Let’s look at the English first

COMPOSER_CACHE_DIR#

The <code><strong>COMPOSER_CACHE_DIR</strong>COMPOSER_CACHE_DIR var allows you to change the composer cache<b>cache</b>-dir directory, which is also configurable via the

cache

-dir option. By default it points to $ COMPOSER_HOME/C:Users<user>AppDataLocal<b>Composer</b></user>cache%LOCALAPPDATA%/<b>Composer</b> on *nix and OSX, and C:Users<user>AppDataLocal</user>

Composer

(or %LOCALAPPDATA%/

Composer

) on Windows.

The Cache directory location of the Composer installation package in Windows 7 environment, windows7composer_PHP tutorial

In the windows environment, this is the directory C:UsersXXXAppDataLocalComposer

The Cache directory location of the Composer installation package in Windows 7 environment, windows7composer_PHP tutorial

You can see that there are compressed files in the phpunit folder.

"symfony/symfony": "v2.1.4" "2.1.*"So you won’t feel confused after reading the following. ">=2.2, <code>stableComposer from the past year will automatically archive the dist package you downloaded. By default, the dist package is used for tagged versions, such as minimum-stability, or wildcards or version ranges,

or

(if you use dev-master as your install. update --prefer-distdist packages can also be used for branches such as

, and Github allows you to download a compressed package of a certain git reference. To force the use of a compressed package instead of cloning the source code, you can use and
's option.

Is there any way to change its installation path? >

C:\Windows\Installer
C:\Windows\Installer\$PatchCache$

After changing, errors may occur, it is not recommended.

Which folder in the windows7 installation disk contains the office 2003 installation files?

First, check "Show hidden files" in the folder options of the control panel, and then look for "MSOCache" in the Win7 system disk directory, which is the installation directory of Office. (At least after Office03, 07, and 10 are installed normally, In the MSOCache directory)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/854729.htmlTechArticleCache directory location of Composer installation package in Windows7 environment, windows7composer http://segmentfault.com/a/1190000000355928 https ://getcomposer.org/doc/ Let’s talk about how to use Composer later...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn