PHP Prevent PHP Open File May 7, 2018 Pramod T P Leave a comment The following can prevent PHP from being able to open a file on the hard drive A. File system permissions B. File is outside of open_basedir