View Full Version : memory_limit=12 ?
theprof
Tue 30th May '00, 7:31pm
werehere suggested that setting memory_limit=12 was good for him. In my php.ini, it is set to 8388608. Is reducing it twelve a good idea? Will that really speed things up?
theprof
Tue 30th May '00, 9:28pm
It works!!
The board FLIES!
werehere
Tue 30th May '00, 11:48pm
We have actually upped that to 16 now, just so you know:)
WebStyles
Wed 31st May '00, 12:23am
Also, if you just want the scripts in one folder to have a higher memory limit, and you have PHP running as a module, you can drop an .htaccess in the folder want with the following:
php3_memory_limit 16000000
Or whatever you want the memory limit to be (in bytes). :)
UserName
Sat 17th Jun '00, 8:05am
I'm working on tuning my server and I can't figure out how to tell what the Memory_Limit value is actually set to on my server. I changed it to 32meg (33550336) in the PHP.ini file, and restarted the server. But, how can you be sure the settings worked? I used the link that John suggested:
http://www.yourhost.com/vbforum/admin/index.php?action=phpinfo
But, the print out doesn't show the Memory_Limit value. I thought maybe something was wrong on my server, but then I saw someone else's results posted here and theirs didn't list that value either. Is there some command that I can use to show the actual and current value of Memory_Limit?
Thanks for all of your help always!
wandrer
Sat 17th Jun '00, 8:23am
phpinfo() shows memory_limit on my setup. You sure it doesn't show anywhere on your setup/output ?
bira
Sat 17th Jun '00, 8:55am
UserName,
If you have php3, you will find the Memory_Limit in the "Configuration" table, pretty much in the middle - between "magic_quotes_sybase" and "nsapi_ext".
Werehere,
Do I need to restart apache after I place that .htaccess file in the BB dir?
Cheers,
Bira
UserName
Sat 17th Jun '00, 1:06pm
I cannot find the Memory_Limit value on the page. I am using PHP4. Here is my PHP info page:
http://www.sunlane.com/phpinfo.htm
Here is a listing from another user on this board, I don't see it on his/hers, either:
http://www.wrestlingtalks.com/phpinfo.php
Any suggestions on how to find it? Thanks!
bira
Sat 17th Jun '00, 1:17pm
then aparently php4 doesn't have this in the info? dunno, I have php3.
UserName
Sat 17th Jun '00, 5:19pm
I wonder if it's an oversight or if they removed it for some reason - though, I can't imagine what reason?
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.