Hi,
I'd like to silently ignore the ini_set command on one server - is this possible? If I disable the function, the script I'm using wont run. Its on our own server so no customers would be affected.
Why would I want to do this?
A script I'm using has hard coded the memory_limit variable and it is ioncube protected so I cant edit it to change the limit. The number of records pulled out of the database by the script is so many that it is forcing the hard coded memory limit to be exceeded and the script is failing.
I need the ini_set command to be ignored by PHP rather than dissallowed so that the script can use more memory based on the limit in the server's php.ini and work correctly. Its a temporary fix until I can get in touch with the developer to make the changes to the script.
I've had a good old search around and come up with nothing so I'm trying this forum as a last resort.



LinkBack URL
About LinkBacks
Reply With Quote




