Skip to content

clemdesign/php-wbootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-wbootstrap

php-wbootstrap allow you to execute the good version of PHP according Wampserver configuration in Windows system. In general, if you use many version of php with Wampserver, you configure only one path to your php.exe (i.e. C:\wamp\bin\php\php7.0.10\). If you use another version of php, you have a conflict with command prompt (cmd) based on the path and php launched by Wampserver.

php-wbootstrap make easy the switch between each version of php through Wampserver.

Environment

php-wbootstrap is built with gcc of MinGW by the command:

gcc main.c

Installation

  1. Download the last release of this tool
  2. Copy and rename php-X.X.X.exe to C:\wamp\php.exe
  3. In variable environment, add the following path C:\wamp\php
  4. Make sure that you don't have another path like C:\wamp\bin\php\phpX.X.X\

Utilization

With you shell command prompt, execute phpcommand with your parameters. Example:

php composer.phar update

This tool will display the php version executed like:

C:\wamp\www\project>php composer.phar update
PHP Version: 7.0.10

...

About

Execute the good version of PHP according Wampserver configuration

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages