phpbu icon indicating copy to clipboard operation
phpbu copied to clipboard

phpbu and Windows

Open chland opened this issue 4 years ago • 1 comments

IDK if people running windows are really your target-audience but i thought I might mention two important things as they drove me nuts when i tried running phpbu on Win10.

  1. make sure that all additional executables (bzip2, openssl, etc.) are located in folders that are listed in the PATH environment-variable -> copying "bzip2.exe" to the same folder as phpbu.phar does not work -> otherwise you will run into the "XXX was nowhere to be found please specify the correct path" error
  2. make sure to add the keepUncrypted option if you use openssl - otherwise phpbu adds "rm" commands which obviously don't work on Windows (maybe worth a bugfix? depending on what you're trying to do, something like rmdir /s /q would be the windows equivalent) -> i haven't tested it but tar seems to have a similar problem - in that case you can't use the removeSourceDir option

Hope this helps people trying to run phpbu on windows.

chland avatar Oct 15 '21 10:10 chland

Thanks I will add your hints to the documentation and think about the rm issue

sebastianfeldmann avatar Oct 15 '21 11:10 sebastianfeldmann