Copy and paste the configuration code into a file in CentOS7.2 `php.ini`, but each line has an extra `;` in front of it.

I copy and paste: https://github.com/php/php-sr. configuration code into a file in CentOS7.2 php.ini , but each line has ; in front, how to solve this problem? I opened the file using vim.

Mar.21,2021

you can use vim to batch select delete operations

  1. ctrl+v enters view mode
  2. gg to the beginning of the first line
  3. l arrow keys select two to the right;
  4. j arrow key and then select all down;
  5. hold down the x key to delete
  6. : wq save exit
Menu