I edited something in Virtualmin, now my site cannot open

SYSTEM INFORMATION
OS type and version Ubuntu 22
Webmin version 2.105
Virtualmin version 7.9.0
Related packages WordPress

I deployed one WordPress site on Virtualmin, today I changed something.
In Web Configuration>PHP FPM Configuation>Resource Limites, I changed Maximum memory allocation to 512 M and Maximum input variables limit to 2500, as these are the numbers I found online for WordPress setting.

Then, in File Manager, I added define( ‘WP_MEMORY_LIMIT’, ’256M’ ); in the file of wp-config.php, before the line of “…happy editing…”.

Then my site cannot be opened.
I went back to PuTTy, and typed the command of sudo reboot, but it doesn’t work.

PLS note my site uses PHP 8.1 and Apache server.
How can I fix this?
Thanks!

did you fix?

Why do you open two threads for the same topic?

See here: How to change SSL Key size for Let's Encrypt keys? - #7 by Steini

I have adjusted the PHP setting Max Memory Allocation on many servers, but never messed around with

define( ‘WP_MEMORY_LIMIT’, ’256M’ ); in the file of wp-config.php

see if removing that one line from wp-config.php will get your site back up and still have more PHP memory

Thanks for replying.
I have already set PHP memory limit, do I need to set WP memory limit?
To me they sound the same.
Thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.