Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and DirectAdmin
  1. Eimantas Zdanys
  2. Tuesday, October 14, 2014
  3.  Subscribe via email
As the title says my directadmin users get this error when they try to change PHP version. I tried to update, disable, enable. Still i get the same error. User is in cagefs for sure and it is enabled. This problem has all server users, I need your help to fix it.

EDIT: I also noticed that in manual it says that there is a /usr/sbin/cl-selector command which dont exist in my server, only /usr/bin/cagefsctl is working.
Rate this post:
  1. 14.10.2014 11:10:40
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Do you have lvemanager instaled ? Also, please check permissions for /etc/cagefs directory, they should be 701 .
  1. 14.10.2014 14:10:57
  2. # 2
Eimantas Zdanys Accepted Answer
Posts: 3
Joined: 14.10.2014
0
Votes
Undo
Yes. i do. Thanks, this permission change helped for me.
  1. 15.10.2014 09:10:55
  2. # 3
Eimantas Zdanys Accepted Answer
Posts: 3
Joined: 14.10.2014
0
Votes
Undo
Yet still, it shows that version has changed but when I enter the code with php info it doesn\'t change. For example i switch to 5.5 from 5.3 and it still shows 5.3.
  1. 15.10.2014 09:10:19
  2. # 4
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
How PHP is running there? Please be sure you run custombuild version 2.0 , and try to recompile apache/php with commands like above:

$ cd /usr/local/directadmin/custombuild
$ ./build update
$ ./build set cloudlinux yes
$ ./build apache
$ ./build rewrite_confs



if you run suphp, then run the following:

$ ./build suphp




If the issue exists it will be better to create a ticket with us so we can look directly on the server.
  1. 22.10.2014 03:10:57
  2. # 5
Eimantas Zdanys Accepted Answer
Posts: 3
Joined: 14.10.2014
0
Votes
Undo
Did all these commands, still version doesn\'t change...
  • 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.