Jump to content
WebFlake
  • 0

Theme file size (PHP ini not working)


Brendan Jennings

Question

Running IPS 4.4.9, Ubuntu 18.04 Server LTS with PHP 7.2 & Apache 2.4.

Steps:

  • Ran `php --ini`
  • Edit the config listed and change the following variables to `100M`
    • upload_max_filesize = 100M
    • post_max_size = 100M
  • Restart Apache (2.4)
  • Check themes
  • The upload page says size is 2MB but it manages to upload the full file without an issue
  • Page refreshes and says check the tab for errors
  • Says file must be smaller than 2MB

Expected result:

File uploads and I am able to apply the theme.

 

 

Any ideas what's wrong?
I've browsed through the forum but can't find anything that doesn't do what I've tried, also attempted to change the maxFileSize variable in applications/core/modules/admin/customization/themes.php with no avail.

Thanks for any help in advance!

Edit: I tried updating to 4.4.10 to see if that fixed the issue with no avail

Edited by Brendan Jennings
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
17 hours ago, Jeffrey said:

Look inside the init.php file for your software.

Checked init.php on IPS 4.4.9 and there is no option to change the file size

Edit:

Managed to figure out what it was by checking phpinfo, the config was in 7.2/apache2/php.ini not 7.2/cli/php.ini for obvious reasons .-.

Idiocy from my part, fixed it now!

Edited by Brendan Jennings
Solution
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...