PHP Specifications

Be in the know. Check our PHP specifications that cover various topics of interest, ranging memory & execution time limitations and random script execution, to PHP sessions & PHP debugging, and reporting levels.

Your website’s code is executed in an isolated LXC container , and it has limitations when it comes to memory and execution time.

Memory limits

By default, the memory is limited to 128MB per request.

Execution timeouts

The timeouts follow the these rules:

  • website public pages – 30 seconds
  • wp-admin30 seconds, and it can be increased up to 60 seconds with a support request
  • wp-cron30 seconds, and it can be increased using set_time_limit(). There is a 15 minutes hard limit, though.

Random script execution

Also note that direct access to .php URLs is forbidden with a few exceptions:

  • /wp-admin/admin-ajax.php
  • /index.php
  • /wp-login.php

This is because we only allow WordPress code to be executed and you can find more details about this on our security page.

PHP sessions

The PHP sessions are not supported by our platform. If you need to store session data, you should use transients , or you can try the still undocumented WordPress sessions .

The reason we do not support PHP sessions is because they break the cache and pose security issues, which we prefer not to expose your site to. You can read in detail about the risks on the site.

PHP debugging and reporting levels

When a PHP error occurs, a visitor is presented with a page containing a request_id. You can use that to search the error log in the Managed Hosting Dashboard .

Supported PHP Versions

The PHP version that is currently supported on the Presslabs Platform is 7.4.

See Also

CDN specifications

This section is dedicated to CDN related topics. We have built our own Content Delivery Network, [...]

Collecting data when an ad blocker is enabled

There's always a smarter way to get to the destination. Here's the automated way of collecting [...]

DNS Specifications

Here you can find details about DNS management and how the DNS failover works. We also use Amazon [...]

File Structure

Here's our specs wardrobe—how WordPress site files organized at Presslabs, e.g. themes, plugins, [...]