You are viewing the PKP Support Forum | PKP Home Wiki

Upload File Size

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Upload File Size

Postby hehe » Thu Apr 24, 2014 4:01 am

Hey all,

I'm trying to upload a file of 3.6MB, and it fails to upload. I can upload files with less size, like 1MB.

I checked php.ini's file size options. There were 2 options related to that, I guess.

I wrote

Code: Select all
php --ini

to locate my php.ini file. The output is:

Code: Select all
Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File:         /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed:      /etc/php5/cli/conf.d/10-pdo.ini,

So, I edited
Code: Select all

I edited those lines:

Code: Select all
upload_max_filesize = 20M
post_max_size = 80M

And then, I restarted apache.

Code: Select all
sudo service apache2 reload
sudo service apache2 restart

However, I still can't upload my 3.6MB PDF file.

What must I do? Thank you very much.
Posts: 24
Joined: Tue Jan 07, 2014 2:59 am

Re: Upload File Size

Postby asmecher » Thu Apr 24, 2014 7:52 am

Hi hehe,

See the OJS FAQ. There's an Apache setting you might also need to check.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests