Crusader Posted December 10, 2006 Share Posted December 10, 2006 I've done a ini_set("memory_limit","75M"); in one of my scripts but I'm wondering if it is valid only for that file? I want only that script to be able to use up that much memory but only temporarily so the overall limit is still 8MB as set in my php.iniThanks! Link to comment https://forums.phpfreaks.com/topic/30079-is-ini_set-temporary/ Share on other sites More sharing options...
trq Posted December 10, 2006 Share Posted December 10, 2006 ini_set() only changes the value for the lifetime of the script it is in. Link to comment https://forums.phpfreaks.com/topic/30079-is-ini_set-temporary/#findComment-138252 Share on other sites More sharing options...
Crusader Posted December 10, 2006 Author Share Posted December 10, 2006 Thank you for the prompt response. Good to hear it works like this. Link to comment https://forums.phpfreaks.com/topic/30079-is-ini_set-temporary/#findComment-138277 Share on other sites More sharing options...
trq Posted December 10, 2006 Share Posted December 10, 2006 Funny what you find in the manual. Link to comment https://forums.phpfreaks.com/topic/30079-is-ini_set-temporary/#findComment-138288 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.