dbohdan / initool

Manipulate INI files from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

initool and php.ini enable extentsion syntax

spamhater-grav opened this issue · comments

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

Sorry, but initool cannot uncomment lines. I suggest using sed or Awk instead. Sed for Windows is available through busybox-w32.