1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Using PHP4 and PHP5 in Plesk 8.1

Discussion in 'Plesk for Linux - 8.x and Older' started by >fm_, Jan 26, 2007.

  1. >fm_

    >fm_ Guest

    Hi there,

    is it possible to user PHP4 and PHP5 in any Linux Distribution together with Plesk 8.1 like in Plesk 8.1 for Windows where you can choose the PHP-Version which the User of a Domain wanted to use for there hosting?

  2. rpk67u

    rpk67u Guest

    Yes, but you have to choose which one has to be running as apache module. Both PHP4 and PHP5 configured as apxs2 module won't work.

    We usally use PHP5 as module and PHP4 compiled from vanilla source into a separate path (i.e: /usr/local/php4) and configure virtual host to use the CGI interpreter for a particular file extension (i.e: php4).

    Hope this will be useful