phpbu
phpbu copied to clipboard
phpbu and Windows
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.
- make sure that all additional executables (bzip2, openssl, etc.) are located in folders that are listed in the
PATHenvironment-variable -> copying "bzip2.exe" to the same folder asphpbu.phardoes not work -> otherwise you will run into the "XXX was nowhere to be found please specify the correct path" error - make sure to add the
keepUncryptedoption 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 likermdir /s /qwould be the windows equivalent) -> i haven't tested it buttarseems 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.
Thanks I will add your hints to the documentation and think about the rm issue