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: docs/els-for-languages/README.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,95 @@ To install all versions at the same time, it is necessary to use the alt-php met
151
151
apt-get install alt-php
152
152
```
153
153
154
+
### Installation Instructions for Windows
155
+
156
+
#### Get user credentials
157
+
158
+
* Obtain the required license to get access to the service.
159
+
* Contact [[email protected]](mailto:[email protected]) to receive instructions for generating your unique access link (tokenized URL). Anonymous access is restricted.
* Use this link to download the latest version of PHP.
165
+
* Extract the downloaded archive (ZIP file) to a preferred directory, for example`C:\PHP`.
166
+
* PHP doesn’t have a traditional “installer” on Windows, it’s a portable application. Once you extract the files and set up a few things, it's ready to use.
167
+
168
+
#### Configure PHP
169
+
170
+
Configure TuxCare ELS PHP for Windows to work as intended on Windows:
171
+
172
+
* Navigate to your PHP directory (e.g. `C:\PHP`).
173
+
* Find and rename the `php.ini-development` file to `php.ini`. This is the main configuration file PHP uses when running.
174
+
175
+
#### Additional configurations (optional)
176
+
177
+
Depending on your ELS PHP usage purpose, additional configurations may be required. Here are some commonly useful configurations.
178
+
179
+
#### Extensions
180
+
181
+
Many PHP features come as extensions and are disabled by default to keep PHP lightweight. TuxCare provides the required `.dll` files to support these extensions.
182
+
To enable the functionality you need, update the `php.ini` file:
183
+
* Open the `php.ini` file in an editor of your choice (e.g. Notepad).
184
+
* Uncomment necessary extensions by removing `;`:
185
+
```
186
+
extension=curl
187
+
extension=gd2
188
+
extension=mbstring
189
+
extension=mysqli
190
+
extension=pdo_mysql
191
+
```
192
+
193
+
#### Increase Upload/Memory Limits
194
+
If you're integrating PHP with applications like WordPress, you might need to increase memory and upload size limits:
195
+
* Open the `php.ini` file in an editor of your choice (e.g. Notepad).
196
+
* Set the limits as needed, e.g:
197
+
```
198
+
upload_max_filesize=40M
199
+
post_max_size=40M
200
+
memory_limit=256M
201
+
```
202
+
203
+
#### Add PHP to System Path
204
+
Adding PHP to the system PATH lets you run the `php` command from a terminal window without typing its full location. This is useful for running scripts and using PHP with other tools.
205
+
* Right-click **This PC** and select **Properties**, or search for **Settings > System > About** in the Start menu.
You can integrate your PHP with other tools, for example, IIS or WordPress. For further details and documentation, refer to the [official PHP documentation](https://www.php.net/manual/en/index.php).
0 commit comments