Skip to content

Instantly share code, notes, and snippets.

@tech6
Created January 28, 2017 23:24
Show Gist options
  • Save tech6/ab3f438e15b42821a66cdc22e39b6c4c to your computer and use it in GitHub Desktop.
Save tech6/ab3f438e15b42821a66cdc22e39b6c4c to your computer and use it in GitHub Desktop.
Need to replace this:
;include_path = ".:/php/includes"
With this:
include_path = ".:/php/includes:/var/www/_include"
sed -i '700s/;include_path = \".:/php/includes\"/include_path = \".:/php/includes:/var/www/_include\"/' php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment