Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrey-helldar/windows-php
Easy changes and running the desired version of PHP under Windows
https://github.com/andrey-helldar/windows-php
Last synced: 12 days ago
JSON representation
Easy changes and running the desired version of PHP under Windows
- Host: GitHub
- URL: https://github.com/andrey-helldar/windows-php
- Owner: andrey-helldar
- License: mit
- Created: 2022-04-29T08:42:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-03T17:43:28.000Z (20 days ago)
- Last Synced: 2024-12-03T18:39:57.466Z (20 days ago)
- Language: Batchfile
- Homepage:
- Size: 131 MB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Windows PHP Helper
## PHP versions
* 8.2
* 8.1
* 8.0## Directory structure
- **your_folder**
- **windows-php** _// this reposotory_
- **bin** _// main executables_
- ****
- **activate.cmd**
- **update.cmd**
- **config** _// PHP configuration files_
- **shell** _// Additional executables_
- **modules**
- _// php and other services and utils_## File designations
bin/X.X/activate.cmd - Sets the required PHP version by default.
If not, download and install.bin/X.X/update.cmd - Sets the required PHP version by default.
A fresh version of PHP will be forcibly downloaded and installed.When downloading PHP, the script will also download and install the `php_redis`, `php_yaml` and `php_xdebug` extensions.
## Using
1. Specify the link to the PHP folder in the environment variables. For example, `c:\dev\modules\php` (this is a symlink
in PHP).
2. Create links to the files you need from the `bin` folder in a place convenient for you.
3. Run the links you need and use 😊## Updating this project
- Open a command prompt;
- Go to the project directory;
- Execute the `git pull` command.