Announcement

Collapse
No announcement yet.

Diagnose PHP Selector/CageFS issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Diagnose PHP Selector/CageFS issues

    How are you suppose to diagnose PHP Selector (or could be a CageFS issue, Im not sure) issues when enabled?

    I took a cPanel account backup from another server and restored it on another server. The old server did not have CageFS/PHP Selector, the new server does. Now PHP is not parsing on the new server. Im being asked to download the PHP file and view the PHP code for the account.

  • #2
    If all was donw with cpanels scripts (pkgacct / restorepkg) and you have cagefs enabled for all by default , then it should enable CageFS and create necessary files for selector. Please show the following:
    cagefsctl --display-user-mode

    However I believe disabling / enabling CageFS for this user will help:
    cagefsctl --disable USERNAME
    cagefsctl --enable USERNAME

    Comment


    • #3
      Somewhat embarrassed on this one.

      Turns out the account had some AddHandler directives in their .htaccess file that was interfering with PHP Selector. Removing those and this worked. Never thought to look for something like that.

      Comment

      Working...
      X