How can client change php.ini on cPanel control panel?

john-mth

Member
Registered
Joined
Feb 26, 2018
Messages
45
Points
8
Hello,

Nowdays panel provides php.ini feature on control panel so client able to do any changes in php.ini as per requirement.

But we want that client should use servers main php.ini forcefully instead custom php.ini so how do to to such changes on cpanel server?

Thanks
 

cloudministerdev

Member
Registered
Joined
Oct 15, 2019
Messages
27
Points
3
Hello

There are two ways two edt PHP.ini for your website, first - if you have customise PHP.ini file in your code, you have to edit from their.
Second one is, cPanel has a option to edit the PHP.ini file (PHP.ini editor). You can select your domain or subdomain for which you want to edit PHP.ini that will be a best and user friendly method to edit as per needs.

Thanks
 

john-mth

Member
Registered
Joined
Feb 26, 2018
Messages
45
Points
8
Hello,

Yes, I know that but we have to use global php.ini that means if any client made any changes in his php.ini file, the changes should not be reflect.

Each client must have to use global php.ini (servers php.ini) instead of custom php.ini, how to forcefully use global php.ini for each clients?

Thanks
 

Dreamwebhosts

Member
Hosting Provider
Registered
Joined
Dec 21, 2019
Messages
43
Points
6
If your hosting provider is given you cloud-Linux shared hosting then you have the option that you can make the server end change for php.ini from PHP Selector. With the help of PHP Selector implemented on our Shared Hosting servers, you can easily modify basic PHP settings via your cPanel.
 

faizan1997

New member
Registered
Joined
Jan 18, 2020
Messages
13
Points
3
  1. Login to the cPanel.
  2. Find the File Manager in File section of the Cpanel.
  3. Navigate to the directory where you will either save or edit the PHP.
  4. Edit the section of the PHP.
  5. Click on SAVE CHANGES in the top right hand corner in order to save your modifications or additions to the file.
 

hostguy

Member
Registered
Joined
Sep 9, 2020
Messages
49
Points
6
Hi,
If you are on shared server then you can change your php.ini at your end.
You can also edit settings through MultiPHP INI editor option in cpanel.
  • Login to cpanel
  • Click on "MultiPHP INI editor"
  • Here you can modify settings according to your need.
You can also edit your php.ini file from file manager in cpanel.
If you want to customize your global php.ini file then you have to purchase your own dedicated/VPS server.
 
Older Threads
Latest Threads
Replies
0
Views
48
Replies
0
Views
192
Replies
0
Views
85
Replies
0
Views
82
Recommended Threads
Replies
7
Views
3,485
Replies
0
Views
2,208

Latest Hosting OffersNew Reviews

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