# Theme Requirements

#### Recommended <a href="#recommended" id="recommended"></a>

* PHP version 8.1 or greater (8.0 EOL 25 Nov 2023)
* MySQL version 5.6 or greater OR MariaDB version 10.1 or greater.
* WordPress memory limit of 256 MB or greater.
* HTTPS (SSL) support.

#### **Recommended PHP Configuration Limits**

To successfully import demo content and use all theme features, your hosting environment should have these PHP settings:

| Setting               | Recommended Value |
| --------------------- | ----------------- |
| `memory_limit`        | 512M              |
| `max_execution_time`  | 300               |
| `max_input_vars`      | 3000              |
| `upload_max_filesize` | 64M               |
| `post_max_size`       | 64M               |

> ✅ You can contact your hosting provider to increase these limits if needed.

#### WordPress memory limit <a href="#wp-memory-limit" id="wp-memory-limit"></a>

```
define( 'WP_MEMORY_LIMIT', '512M' );	
```

WordPress memory can be different from the server – you need to set this regardless of server memory settings

<https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP>

### Increasing the WordPress Memory Limit <a href="#increasing-the-wordpress-memory-limit" id="increasing-the-wordpress-memory-limit"></a>

1\. Edit your wp-config.php file and enter something like:

```
define('WP_MEMORY_LIMIT', '512M');
```

WordPress memory can be different to the server – you need to set this regardless of server memory settings

<http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP>

2\. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 256M:

```
memory_limit = 512M ; Maximum amount of memory a script may consume (512MB)
```

3\. If you don’t have access to PHP.ini try adding this to the .htaccess file:

```
php_value memory_limit 512M
```

4\. If none of the above works, then talk to your hosting provider.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://buddhathemes-test.gitbook.io/ogie/getting-started/theme-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
