Skip to content

andrey-helldar/windows-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows PHP Helper

Windows PHP

PHP versions

  • 8.2
  • 8.1
  • 8.0

Directory structure

  • your_folder
    • windows-php // this reposotory
      • bin // main executables
        • <dir_by_php_version>
          • 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.

About

Easy changes and running the desired version of PHP under Windows

Resources

License

Stars

Watchers

Forks