Announcement

Collapse
No announcement yet.

Warning: Changing php modules and php options via PHP Selector for native php version is impossible

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

  • skhristich
    replied
    Hello,

    > Where is the correct documentation for Installation and Configuration of CentOS 8 > CloudLinux 8 on DirectAdmin?

    This information in our documentation will be useful here


    > Also, what is the correct sequence?
    > CentOS 8 > DirectAdmin > CloudLinux 8 or something else?

    Yes, youre right, that’s correct.
    If you have any other questions, feel free to ask here. Thank you for contacting us.

    Leave a comment:


  • ryan
    replied
    Thanks for the response Sergey,

    Where is the correct documentation for Installation and Configuration of CentOS 8 > CloudLinux 8 on DirectAdmin?

    Also, what is the correct sequence?
    CentOS 8 > DirectAdmin > CloudLinux 8 or something else?

    Leave a comment:


  • skhristich
    replied
    > The above posts are fairly old so I would assume this was fixed.
    >
    > Im running a test of DirectAdmin on CentOS 8 converted to CloudLinux and I get this error/warning too when testing from a user account to change the PHP version.
    >
    > "Warning Changing php modules and php options via PHP Selector for native php version is impossible"
    >
    > What exactly is required to fix or prevent this from happening?

    Hello,
    Thank you for reaching out! Please try changing the version of the PHP in the selector.
    If this does not solve the problem, can you open a support ticket https://cloudlinux.zendesk.com/hc/en-us/requests/new so we can take a closer look at your system? You can post the ticket number here and well link this thread to it.
    Thank you.

    Leave a comment:


  • ryan
    replied
    The above posts are fairly old so I would assume this was fixed.

    Im running a test of DirectAdmin on CentOS 8 converted to CloudLinux and I get this error/warning too when testing from a user account to change the PHP version.

    "Warning Changing php modules and php options via PHP Selector for native php version is impossible"

    What exactly is required to fix or prevent this from happening?

    Leave a comment:


  • vmarchuk
    replied
    Hello,

    The configuration file might still be corrupted.
    Please submit a ticket to https://cloudlinux.zendesk.com, our techs will check the issue in place.

    Leave a comment:


  • apb
    replied
    I cant spot the difference...

    Leave a comment:


  • apb
    replied
    Stephen,

    Please, contact our support by submitting a ticket at https://cloudlinux.zendesk.com

    Leave a comment:


  • ighertesco
    replied
    Warning: Changing php modules and php options via PHP Selector for native php version is impossible

    I am getting this error on all accounts! iv done everything thats been said here and restarted the server! i need help if possible

    Leave a comment:


  • ighertesco
    replied
    The fixed version was just pushed to production channel: https://www.cloudlinux.com/cloudlinu...er-updated-1-7

    Leave a comment:


  • ighertesco
    replied
    Hello,

    This is a known issue, we are preparing the fix currently.

    For now, just modify the /etc/cl.selector/php.conf file as it was suggested in previous posts.

    Leave a comment:


  • ighertesco
    replied
    The same problem here. This occurs after the last update, we dont have made any change and suddenly all accounts on all PHP versions show the message:

    > Warning: Changing php modules and php options via PHP Selector for native php version is impossible

    Leave a comment:


  • ighertesco
    replied
    Hello!

    I had the same issue at 25 servers and all had the same issue in the file "/etc/cl.selector/php.conf".

    It looked like this:

    Code:
    Directive = safe_mode_include_dir
    
    Type      = value
    
    Remark    = <5.4.0
    
    Comment   = If PHP is in the safe mode and a script tries to access some files, files from this directory will bypass security (UID/GID) checks. Th
    
    e directory must also be in include_path. For example: /dir/inc
    So I changed it to the below to fix the issue:

    Code:
    Directive = safe_mode_include_dir
    
    Type      = value
    
    Remark    = <5.4.0
    
    Comment   = If PHP is in the safe mode and a script tries to access some files, files from this directory will bypass security (UID/GID) checks. The directory must also be in include_path. For example: /dir/inc
    Regards,
    Erik.

    Leave a comment:


  • ighertesco
    replied
    Hello,

    I have not been able to reproduce the issue in our test environment.

    Could you please submit a ticket to https://cloudlinux.zendesk.com/hc/en-us/requests/new, so we could take a closer look?

    Leave a comment:


  • zeadie
    replied
    This means that theres something wrong with /etc/cl.selector/php.conf If you try to change the PHP version while on the PHP Options area, youll see a red error indicating the error. In my case, our comments for custom PHP settings seemed to have jumped onto the next line, presumably because word-wrap

    Leave a comment:


  • bogdan.sh
    replied
    This is not related to WHM version and definitely should not work that way. We would like to check the issue in place, please create a ticket at https://helpdesk.cloudlinux.com and provide server access so we could reproduce it.

    Leave a comment:

Working...
X