nerdexam
Zend

200-530 · Question #164

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

(37 responses)
  • A
    84% (31)
  • B
    3% (1)
  • C
    8% (3)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice