Jump to content

PHP runtime memory limit - increase runtime


simonsays
 Share

Recommended Posts

Hello,

I am using shared VPS and have access to htaccess. I increased filesize limit to

php_value upload_max_filesize 100M
php_value post_max_size 100M

However, I bump into running out of memory error when uploading really large file.

I am really not excited about increasing memory limit in the .htaccess settings, I'd rather make it conditional and increase it (or use -1) runtime, when admin uploads something.

What would be the best way/place to do it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...