File size error while uploading PDF or Word file - OJS 3.1.0.1

Hi,
I have installed OJS 3.1.0.1 and been using for a month. I have been trying to upload file some pdf/ word file sized around 3MB, but I get this error 'File size error." message while uploading the file. I already had upload_max_filesize and post_max_size increased in the PHP configuration from cPanel.
I am wondering what could go wrong. Could someone please help me?
Regards

Here is the PHP configuration from the cPanel.

Hi @Anamul_Palash,

There are also some limits in your Apache configuration; check this FAQ entry.

Regards,
Alec Smecher
Public Knowledge Project Team

Hey,

In case it might help someone, for me the thing that worked was increasing the limit from php.ini:

upload_max_filesize = 1G
post_max_size = 1G

cheers

2 Likes

Is there anyway without changing the php.ini file??