Hello,
I tried to migrate servers so I started moving my previous virtual servers (from virtualmin) to the new server.
In there I had a few domains with Joomla sites. All of them moved nicely to the server just by doing a full virtual server backup on the old server and then a restore on the new server.
One virtual server however seems that cannot be transfered without special fine tuning !
The server has a Joomla site which does not open at all when I try the URL address.
I checked the Apache logs and I see entries like the following:
--
[error] [client 111.222.333.444] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40 bytes) in /home/mydomain/public_html/libraries/joomla/error/exception.php on line 117
What am I doing wrong here? Any ideas?
Your help is much appreciated!
Thank you
Howdy,
It sounds like you may need to tweak how much memory PHP is allowed to use.
You can do that by editing $HOME/etc/php.ini, and increase the "memory_limit" option.
-Eric
Thank you for the reply. I don't think that is the problem... I increased it gradually to 512M (which is a lot) and all it does is to update the error by showing the larger amount:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 40 bytes) in /home/mydomain/public_html/libraries/joomla/error/exception.php on line 117
Any other ideas? :_(
Howdy netizen, is there a chance that this is on a VPS? If so, is the VPS running out of resources? Not just php memory but server alocation. Seems that I remember hitting this problem myself, and it had to do with how many files were in use by the VPS. Good luck, Joe
Thank you for the reply. I don't think that is the problem... I increased it gradually to 512M (which is a lot) and all it does is to update the error by showing the larger amount:
Well, it's not that your changes aren't working -- it's that, for some reason, PHP is requiring quite a bit of memory for this particular app :-)
The key is to figure out why it's requiring so much memory -- or at least to configure PHP to be allowed to use that much memory.
It could be an issue where the task it's trying to perform is simply memory intensive. It could be that a lot of PHP modules are enabled, which could cause it to use a lot of memory. It sounds like BossHog saw that issue on a particular VPS provider.
Note that applications running on 64 bit servers require more memory than those running on 32 bit servers. If you migrated from a 32 bit system to a 64 bit system, you would see an increase in memory requirements.
-Eric
Dear all,
The server IS INDEED running on a Centos container based on a Proxmox server. The problem however is that memory usage is not an issue because virtualmin reports more than enough free memory. On top of that... the application is a very simple Joomla site with just a couple of well known modules... pretty basic so to speak... The memory limit on the previous server was just 64M however it was a physical server.
No clue :(
I know this is a too old post but did anyone has a solution as same happening to me. Plenty of RAM but keeps getting this error while increased a lot RAM on php.ini?