View Full Version : Install Error
misr.cc
12-31-2007, 12:05 PM
I got this error when i try to install vb
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 185 bytes) in /home/XXXXXX/public_html/includes/class_xml.php on line 450
any help ??:erm:
What PHP version you have? You should post in the Server Configuration (http://www.vbulletin.com/forum/forumdisplay.php?f=14) forum.
misr.cc
12-31-2007, 01:32 PM
What PHP version you have? You should post in the Server Configuration (http://www.vbulletin.com/forum/forumdisplay.php?f=14) forum.
PHP version 5.2.4
MySQL version 4.1.22-standard
i'll do it now
EricGT
12-31-2007, 11:13 PM
It is a simple setting change in your php.ini file. The varialbe is 'memory_limit'. The stock value is 8m. Bump it up to 16m. Be sure to restart your web server to reload the PHP config, if you are running PHP as a module.
Remember too that Google is your friend. You can search for just about any error any software can generate (The generic part of the rror, not your server path) on Google and find plenty of other people who have had the same problem and solved it. That is how I discovered the memory_limit setting years ago, when I first got that error myself. Eric
Actually the right value is 128MB.
EricGT
01-01-2008, 01:45 AM
Actually the right value is 128MB.
I think the right value depends on the server in question and what is running on it. I bumped the setting up enough to keep vBulletin from tripping over it. Having the figure set too high could probably be an issue in the event of a php script exploit or a problematic process. Have you encountered something in vB that needs the memory_limit to be set that high? If there is, I would appreciate knowing about it. I have only been running the 3.X branch of vB for a few months now. I doubt if I've tripped all the landmines yet.:D
BTW misr.cc, there is a time limit variable located right by the memory_limit variable. This can be a problem for long, large processes. I don't know that this could be a problem for vB, but I have had problems with this variable with shopping cart conversion and upgrade processes. I don't know that it needs to be adjusted for you now, but be aware of it. Eric
misr.cc
01-01-2008, 05:46 AM
It is a simple setting change in your php.ini file. The varialbe is 'memory_limit'. The stock value is 8m. Bump it up to 16m. Be sure to restart your web server to reload the PHP config, if you are running PHP as a module.
Remember too that Google is your friend. You can search for just about any error any software can generate (The generic part of the rror, not your server path) on Google and find plenty of other people who have had the same problem and solved it. That is how I discovered the memory_limit setting years ago, when I first got that error myself. Eric
Actually the right value is 128MB.
I think the right value depends on the server in question and what is running on it. I bumped the setting up enough to keep vBulletin from tripping over it. Having the figure set too high could probably be an issue in the event of a php script exploit or a problematic process. Have you encountered something in vB that needs the memory_limit to be set that high? If there is, I would appreciate knowing about it. I have only been running the 3.X branch of vB for a few months now. I doubt if I've tripped all the landmines yet.:D
BTW misr.cc, there is a time limit variable located right by the memory_limit variable. This can be a problem for long, large processes. I don't know that this could be a problem for vB, but I have had problems with this variable with shopping cart conversion and upgrade processes. I don't know that it needs to be adjusted for you now, but be aware of it. Eric
Eric And TECK
thanx so much for your help
i tell my host and send him
the link of this topic :D and
he should resolve it ....
thanx again .... and happy new year :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.