Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Baby
  2. Saturday, February 06, 2016
  3.  Subscribe via email
Users are getting the following warning when they visit 'Select PHP Version' in cPanel, and then click the 'Switch to PHP Options' link:

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

But we do not enable the native PHP version on the server.

The selected PHP version is one of the alt-php versions.

Running phpinfo() on the user's domain, we can also confirm that the selected PHP version is one of the alt-php versions.

We are running cPanel/WHM 11.52.2 (build 5) on CloudLinux 6.7 x86_64.

We have already tried recompiling using EasyApache 3, and also running /usr/sbin/cagefsctl --force-update.

With all this in mind, what do you think could be causing the above warning message to show up when the user clicks the 'Switch to PHP Options' link?

Is it because we have not upgraded to cPanel/WHM 11.54? If so, can this bug be fixed so that CloudLinux detects which version of cPanel is running and shows the page correctly?
Rate this post:
  1. 08.02.2016 03:02:46
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
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.
  1. 08.01.2018 00:01:14
  2. # 2
Zach Accepted Answer
Posts: 1
Joined: 08.01.2018
0
Votes
Undo
This means that there's something wrong with /etc/cl.selector/php.conf

If you try to change the PHP version while on the PHP Options area, you'll 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 :)
  1. 10.01.2018 15:01:24
  2. # 3
Igor Ghertesco Accepted Answer
Posts: 105
Joined: 07.08.2015
0
Votes
Undo
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?
  1. 17.01.2018 15:01:57
  2. # 4
Erik Accepted Answer
Posts: 0
Joined: 19.06.2018
0
Votes
Undo
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:


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:


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.
  1. 18.01.2018 04:01:27
  2. # 5
Andre Accepted Answer
Posts: 0
Joined: 19.06.2018
0
Votes
Undo
The same problem here. This occurs after the last update, we don't 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
  1. 18.01.2018 08:01:16
  2. # 6
Igor Ghertesco Accepted Answer
Posts: 105
Joined: 07.08.2015
0
Votes
Undo
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.
  1. 18.01.2018 12:01:26
  2. # 7
Igor Ghertesco Accepted Answer
Posts: 105
Joined: 07.08.2015
0
Votes
Undo
The fixed version was just pushed to production channel: https://www.cloudlinux.com/cloudlinux-os-blog/entry/lve-manager-updated-1-7
  1. 24.05.2018 21:05:23
  2. # 8
stephen Accepted Answer
Posts: 0
Joined: 19.06.2018
0
Votes
Undo
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
  1. 25.05.2018 10:05:03
  2. # 9
Posts: 123
Joined: 31.01.2017
0
Votes
Undo
Stephen,

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


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.