initool and php.ini enable extentsion syntax
spamhater-grav opened this issue · comments
spamhater commented
Hi there, trying to automate some php.ini changes
Want to enable an existing extension which is disabled
;extension=bz2
but I have tried to get a response via -g and trying to do a replacement with -s
initool -s php.ini PHP ;extension=bz2 extension=bz2
but to know joy, is this possible or is it just bad syntax of initool by me
Many thanks
initool - windows
D. Bohdan commented
Sorry, but initool cannot uncomment lines. I suggest using sed or Awk instead. Sed for Windows is available through busybox-w32.