PHP resource limits for shared Web Hosting

When your website is hosted on a server, it uses something called PHP to handle and process information. To make sure your website and all the other websites on the same server run smoothly, there are certain limits on how much of the server’s resources a website can use at one time.

These limits are set up to prevent problems like:

  • Your website running too slowly or crashing: If a script on your website tries to do too much at once, these limits step in to prevent it from using up all the server’s power.
  • Other websites on the server slowing down: In shared hosting (where many websites are on one server), these limits ensure one website doesn’t use all the resources, leaving none for others.

Here are the maximum PHP limits on shared servers:

  • memory_limit: 512 MB
  • max_execution_time: 90s
  • max_input_vars: 3500
  • post_max_size: 64 MB

New hosting packages aren’t set to use the maximum PHP resource limits by default. You may log into your account and increase the values as needed. All shared Web Hosting packages offer the same maximum values, regardless of the type of hosting package. 

If your website is already using the maximum available PHP resources and you’re still seeing errors, we recommend optimising your website. An optimised website needs fewer resources to run smoothly. This kind of work is usually managed by a website developer and falls outside our scope of service.

Assist Note

View which directives can be changed with the PHP Config tool in our Help Centre guide.