1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Not able to upload big PDF Files.

Discussion in 'HTML & Website Design' started by eric_wahlberg, Jul 12, 2018.

  1. #1

    I have recently added adding a PDF option in my website.

    Problem is that I can upload small PDF files upto 1 MB.

    But as the size increases more thant 1; it doesn't accept PDF

    My developer tells me it's hosting problem.

    Please tell me what's the problem.

    Here is my website http://www.sumitnabham.com.

    Go to folktales, Arabian Nights, Session. You will know it.

    P.S.) Please tell me solution today as I have told him to remove PDF option compltelty.

    eric_wahlberg, Jul 12, 2018 IP
  2. malky66

    malky66 Acclaimed Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Have you spoke to your host?
    malky66, Jul 13, 2018 IP
  3. cloudcone

    cloudcone Member Premium Member

    Likes Received:
    Best Answers:
    Trophy Points:
    You need to get your hosting provider to increase the 'max_upload_size' in your php.ini. At the same, it would be better if you could increase the 'max_execution_time' too.
    cloudcone, Jul 29, 2018 IP
  4. Komputerking

    Komputerking Greenhorn

    Likes Received:
    Best Answers:
    Trophy Points:
    This is exactly right. One of the things you can do, is upload a php file called
    and have the following in the file
    <?php phpinfo(); ?>

    and then hit info.php in your browser, and it will tell you all of the values for your current php configuration if you are on a shared hosting provider.

    As such, if you are on a cPanel hosting environment, there are tools like multi php manager, or php selector, that will allow you to modify your max_upload_size and max_execution_time, yourself. We recommend limiting it to 20MB. But you should be able to open a ticket with your provider and ask them about increasing it, as 1MB is quite small, if that is the limitation.
    Komputerking, Jul 31, 2018 IP