some cloudlinux way of doing

hostgliders

Member
Hosting Provider
Registered
Joined
Feb 17, 2017
Messages
51
Points
0
:whiteflag:

If you are using cpanel/whm and cloudlinux installed over your server and one of your client want to set some more values in php selector in cpanel

You can go to /var/cagefs and there you will see some folders with numbers like 01,02..... , You need to find the cpanel username where it reside on that directories.

find . -iname username

then go to /01/username/etc/cl.php.d/alt-php56 ,,,,, here the required username resides on 01 directory. here you can select the required php version. I selected php 5.6 here.

There is a file called alt_php.ini


you can edit the file to add additional options in your php selector of php 5.6 for that user.

:whiteflag:
 
Newer Threads
Replies
21
Views
21,419
Replies
15
Views
15,480
Replies
2
Views
3,361
Replies
5
Views
4,674
Replies
14
Views
10,542
Latest Threads
Replies
1
Views
1,334
Replies
3
Views
1,107
Replies
1
Views
701
Replies
2
Views
1,288
Replies
1
Views
865
Recommended Threads

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top