NethServer 7 PHP post_max_size and upload_max_filesize

Recently i have faced a problem that i was unable to upload to osTicket file to Knowledge Base larger that 12MB.

Since NethServer 7 is based on CentOS7 i have looked into php.ini file and changed required entries and restarted httpd server but nothing has changed…

Then I realised that since I a using NS7 I have to change somewhere else 😉

So this is what I have done:

And to make sure it’s working:

And now I was able to upload large files.

Thank’s to NethServer Community for this solution!

Apache UserDir in CentOS 7

Quick steps to set it up (I assume you have apache installed):

  1. login as root
  2. edit userdir.conf

  3. restart Apache
  4. setup your directory
    as normal user enter:
  5. if you use SELinux as root enter:
  6. create simple html page

    enter this:
  7. change ownership of file
  8. start your browser and enter this address:

     

    and voila! 😉