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)- A78% (14)
- B6% (1)
- C11% (2)
- D6% (1)
Community Discussion
No community discussion yet for this question.