You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ The Windows installer for the [Composer][composer] PHP Dependency Manager. [**Do
5
5
## Contents
6
6
*[About](#About)
7
7
*[Details](#Details)
8
+
*[Php Ini File](#Php-Ini_File)
8
9
*[Troubleshooting](#Troubleshooting)
9
10
*[Uninstalling](#Uninstalling)
10
11
*[Install Locations](#Locations)
@@ -39,7 +40,7 @@ searches common locations on your computer and presents you with its findings. I
39
40
will display this value. If not, or you want to choose a different PHP, you must select from the list or hunt around manually.
40
41
41
42
The installer will then check that PHP and your path are set up correctly. If it finds any errors it will give you
42
-
the chance to fix them. It will also offer to either create or modify the `php.ini` file if required settings do not exist.
43
+
the chance to fix them. It will also offer to either create or modify the `php.ini` file if required settings do not exist. See [Php Ini File](#Php-Ini-File) for more information.
43
44
44
45
Next, the installer will ask if you need a proxy server to connect to the internet. If it finds any values in your
45
46
*Internet Settings* or your environment, then the proxy url will be displayed.
@@ -48,6 +49,15 @@ After you have reviewed and accepted your settings, the installer will download
48
49
environment has been changed, it is important to close your current terminal and open a new one so that the changes get
49
50
loaded. The installer will remind you if this is the case.
50
51
52
+
<aname="Php-Ini-File"></a>
53
+
## Php Ini File
54
+
Composer-Setup will either create a new `php.ini` or modify an existing file if any settings needed by Composer are missing:
55
+
56
+
*`allow_url_fopen` set to on
57
+
*`open_ssl` and `mbstring` extensions enabled
58
+
59
+
When creating a new file, the _php.ini-production_ file is used with `extension_dir` and `date.timezone` values appropriately set. When modifying an existing file, a backup is created in the same directory, named `php.ini~orig`.
60
+
51
61
<aname="Troubleshooting"></a>
52
62
## Troubleshooting
53
63
Composer-Setup creates a log file, which may be useful to review if you experience any issues. This is stored in your
0 commit comments