There’s a certain amount of memory that the server will attribute to each site which it hosts. The default memory limit for Laravel is usually 32MB but processes such as importing the demo content and many other processes themes and plugins go through may require more memory. Increasing it will help you avoid some of the most common site errors.
(Beginner) Ask your hosting company to increase the memory limit
The easiest way is to reach out to your hosting company and ask them to increase the PHP memory allocated to your Laravel site to 256M.
Recommended PHP configuration:
- max_execution_time: 3000
- memory_limit: 512M
- post_max_size: 512M
- upload_max_filesize: 512M