nerdexam
National_Instruments

200-500 · Question #176

What can prevent PHP from being able to open a file on the hard drive (Choose 3)?

The correct answer is A. File system permissions B. File is outside of open_basedir C. File is owned by another user and safe_mode is enabled. See the full explanation below for the reasoning.

Question

What can prevent PHP from being able to open a file on the hard drive (Choose 3)?

Options

  • AFile system permissions
  • BFile is outside of open_basedir
  • CFile is owned by another user and safe_mode is enabled.
  • DFile is inside the /tmp directory.
  • EPHP is running as the web server user.

How the community answered

(57 responses)
  • A
    77% (44)
  • D
    7% (4)
  • E
    16% (9)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice