some cloudlinux way of doing

You have come to the best place to learn more about web hosting. Sit back and enjoy our wonderful web hosting tutorials and become an expert in no time!
Post Reply
hoders
Posts: 1
Joined: Tue Nov 14, 2017 1:14 pm

some cloudlinux way of doing

Post by hoders » Tue Nov 14, 2017 1:15 pm

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.

buznoc
Posts: 2
Joined: Tue Nov 14, 2017 1:17 pm

Re: some cloudlinux way of doing

Post by buznoc » Tue Nov 14, 2017 1:18 pm

great post thanks for this ;)

Post Reply