nerdexam
National_Instruments

200-500 · Question #149

What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?

The correct answer is A. Run one as an Apache module, the other as a CGI binary. See the full explanation below for the reasoning.

Question

What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?

Options

  • ARun one as an Apache module, the other as a CGI binary.
  • BRun both as a CGI binary.
  • CJust use .php4 for PHP 4, and .php for PHP 5.
  • DUse .php for both but use different document roots.

How the community answered

(18 responses)
  • A
    78% (14)
  • B
    6% (1)
  • C
    11% (2)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice