We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    My hosting provider doesn't allow to change my php.ini file.
    I need to increase memory_limit to upload large files with defaulft file browser (TV input file). I know that this is possible with ini_set('memory_limit', '100M'); but don't know where to add this line in php.
    Please advice me how to apply those changes to file manager.
    Im running Revo 2.1.3, PHP Version 5.2.17
      Lucas from AroundCyprus.net
    • You can do this in the .htaccess file - maybe. It depends on the server configuration if you can change this at all.
      php_value  upload_max_filesize  100M
      php_value  post_max_size  100M
      php_value  memory_limit  24M 
      


        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org