Can I change my website’s PHP configuration?

Yes, you can.

This is available by means of the Manage Hosting > Select Package > PHP Configuration section of our control panel. On the other hand, you can make a custom record in your webspace with your ideal PHP design. If it's not too much trouble note that PHP will just peruse a custom arrangement once every five minutes, so it can take a brief timeframe before the setup changes appears on your site. This is dependably the situation for our WordPress stage, as PHP-FPM stores the arrangement aggresively.


Control Panel

The PHP Configuration symbol inside the control board allows you to see and adjust a rundown of the more typical design alternatives. You can likewise observe our default esteems. To transform one, essentially enter your favored value in the text input or make a radio choice and spare.


File System (Advanced)

If you wish to set an option that is not listed in the control panel, you can just modify the ~/public_html/.user.ini file directly via File Manager. This file is parsed in addition to our standard PHP configuration by our web server, allowing you to change almost all the PHP settings for your website. If you've already made changes via control panel you will see those in a .user.ini already. For example “max_input_time=500” would set max_input_time to 500 seconds


Testing

The most ideal approach to affirm the settings are live is by means of phpinfo(). This enables you to see the current (neighborhood) and default (worldwide) PHP arrangement. To do this, use File Manager or a FTP customer to make a document, for instance "info.php", with the accompanying substance:

phpinfo();

?>


Then visit your website via domain.com/info.php and you'll see all PHP configuration settings. Please remember to remove the script when you've finished testing.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are HamroCP Users?

A HamroCP User is the record you make to give your clients access to deal with their facilitating...

How do I let my customers manage a domain name?

If you have a client who has bought a domain name from you, yo might need to give them access to...

How do I customise the limits for an individual package?

You might need to alter what is appeared in StackCP for an individual bundle. For a specific...

How do I brand and customise HamroCP’s login page?

If you're looking to modify your HamroCP login page you can do this by editing  the Custom CSS....

Can I view my FTP, email address or database passwords?

We encode all FTP, email and database passwords so they are not visible as plain content inside...