Skip to content

Instantly share code, notes, and snippets.

@Brick85
Created October 15, 2012 20:47
Show Gist options
  • Save Brick85/3895340 to your computer and use it in GitHub Desktop.
Save Brick85/3895340 to your computer and use it in GitHub Desktop.
FreeBSD edit php.ini
chflags nosunlnk php.ini; chflags noschg php.ini; replace "safe_mode = Off" "safe_mode = On" -- php.ini; replace "safe_mode_gid = On" "safe_mode_gid = Off" -- php.ini; replace "sql.safe_mode = On" "sql.safe_mode = Off" -- php.ini; chflags sunlnk php.ini; chflags schg php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment