WP Rocket - WordPress Caching Plugin

Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 14684160 bytes) Error: On Lollipop

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

I had this error on my WordPress site, but I managed to resolve it, so I'm writing this down as a memo.
Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 14684160 bytes)

The server environment is Lolipop. The error message is that PHP memory is insufficient and the page cannot be displayed.

This is the procedure if you are using the "module version." First, change to the "CGI version" and then proceed.

Log in to Lolipop and go to PHP settings

First, log in to Lolipop and go to PHP settings.

Open php.ini settings

This explanation will be for the CGI version, so please make sure that the version you are currently using is CGI before proceeding.

Enable php_value and php_flag

Turn on Enable php_value and php_flag to prioritize the .htaccess settings.
Once you turn it ON, click the button to set [php.ini].

Edit the .htaccess file

Next, access Lolipop FTP and edit the .htaccess file.

Here is the .jhtaccess file. Click on it to open it for editing.

This is a very important file, so please [download] it before touching it.
If your site no longer displays after editing, please upload the downloaded file and restore it.

Add this code to the top and save it.
This time, since the site was heavy, I added code to increase it to 1024M.
Change the numbers depending on your environment.

php_value memory_limit 1024M
HanamiWEB

The person who wrote this article

Matsuura Misa

HanamiWEB Co., Ltd. / Web Production, SEO, and AI Search Engine Optimization Support

Based in Nerima Ward, Tokyo, we provide support for small and medium-sized businesses, including website creation, SEO measures, and site design that anticipates the era of AI search.
I specialize in practical improvement suggestions using WordPress and content design that focuses on customer acquisition funnels.
We also provide website maintenance and operation services.

Released as soon as the next morning! Weekends and holidays are also available!

Super rush website creation plan

We offer a rush website creation plan for those who need a website in a hurry!

We can publish your content as soon as the next morning, even on weekends and holidays! If you have any questions, please check the details below!

Latest Articles

Nerima Ward: Ranked 2nd in website creation | Explanation of how to create a website that gets cited by AI
What is website update outsourcing? A clear explanation of costs, market rates, and how to request their services.
RankMath Webmaster Tools Setup Guide | Google Search Console & Bing
RankMath "Breadcrumb Navigation" Settings Guide
en_USEnglish