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
    Hi,

    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.

    Regards
     
    eric_wahlberg, Jul 12, 2018 IP
  2. malky66

    malky66 Acclaimed Member

    Messages:
    3,996
    Likes Received:
    2,248
    Best Answers:
    88
    Trophy Points:
    515
    #2
    Have you spoke to your host?
     
    malky66, Jul 13, 2018 IP
  3. cloudcone

    cloudcone Member Premium Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #3
    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

    Messages:
    33
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #4
    This is exactly right. One of the things you can do, is upload a php file called
    info.php
    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