Skip to main content

PHP Selector breaks during EasyApache

Comments

7 comments

  • vanessa
    I personally have not seen this issue, but it's not terribly difficult to write your own PHP switcher. I'm currently working on an open source one to negate the need to use CloudLinux for this. Which will essentially render it even more useless than it already is. You may want to consider opening a ticket with cPanel on this as a posisble bug. It sounds like the problem is more on Cloudlinux's end though in how they determine which PHP version a user has selected.
    0
  • cPanelMichael
    Hello :) I recommend opening a support ticket directly with Cloud Linux to report this issue: [url=http://www.cloudlinux.com/support/]Cloud Linux - Contacting Support Thank you.
    0
  • dcdigital
    suPHP/suexec need to be patched. run the following commands one after the other: # /usr/sbin/cpanel-compile-suphp.sh # cagefsctl "force-update You can see a post about it with more detail at: [url=http://penguinbliss.wordpress.com/2014/04/10/cloudlinux-php-selector-not-working-or-broken/]cloudlinux: PHP selector NOT working or BROKEN | Penguinbliss
    0
  • Tom Risager
    Thanks. We did get PHP Selector working again with assistance from support. We continue to have the other issue - PHP Selector will reliably stop working for a few minutes every time we run EasyApache and all websites will temporarily be running with the native PHP and without any custom settings. Once EasyApache completes, everything reverts to normal. Websites that are relying on older PHP versions will be unavailable while EasyApache is running.
    0
  • cPanelMichael
    [quote="Tom Risager, post: 1678951">We continue to have the other issue - PHP Selector will reliably stop working for a few minutes every time we run EasyApache and all websites will temporarily be running with the native PHP and without any custom settings. Once EasyApache completes, everything reverts to normal. Websites that are relying on older PHP versions will be unavailable while EasyApache is running.
    Have you submitted a ticket to Cloud Linux to report this issue? Thank you.
    0
  • someB0dy
    Tom, this sounds like cagefs become unmounted during easyapache run. This should not work this way, and I never saw such actions but next time you run easyapache check if cagefs is enabled/mounted with: [QUOTE]cagefsctl --list-enabled | wc -l cagefsctl --list cat /proc/mounts
    And check the message that will be shown with getting php version: [QUOTE]selectorctl --user-current --user USERNAME
    0
  • Tom Risager
    Excellent advice, that should give us something specific we can use to contact Cloudlinux support. Much appreciated.
    0

Please sign in to leave a comment.