open_basedir
A PHP configuration directive that confines all filesystem access, including include and require, to a named directory tree. Set to the application's own paths, it blocks a file-inclusion bug from reaching gadgets or writable directories elsewhere on the server, breaking the escalation to code execution.