Phpswitcher does not show Subdomains?

  • Good morning guys,


    I just set up the phpswitcher and installed the PHP-Versions in admin-interface.
    Afterwards I logged into a customer and wanted to switch the php-version for him. I expected an overview of all existing subdomains like shown in the plugin-Overview page.
    But at the moment I only see a single dropdown window, where I can choose only one php-version. Is there a way to choose different versions for different subdomains?


    Best regards,


    Pinky

    Files

    • switcher.PNG

      (11.83 kB, downloaded 5 times, last: )
  • @pinky



    Did you read the manual before posting? I don't think so ;)


    From the manual


    Code
    1. You can switch to another server implementation by running the following commands: # cd <path_to_your_imscp_archive> # perl imscp-autoinstall -dar httpdNote that when asked, it is recommended to choose the `per_site` PHP configuration level. This allow your customers to set different PHP versions for their domains, subdomains…


    See http://wiki.i-mscp.net/doku.php?id=plugins:phpswitcher


    To resume, you must use the per_site PHP configuration level, else, you'll not be able to set php version per subdomain...


    You should run:

    Code
    1. # perl /var/www/imscp/engine/setup/imscp-setup -dar php


    then, when asked, select 'per_site'.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hey Nuxwin,


    yes I did read the documentation (yesterday). But I did not recognize what to do for this special case. After compiling thousand hours of php-versions I just checked how it works today.


    Executed the installscript again, works now.


    Thanks alot.