Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1057445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:52:07+00:00 2026-05-16T17:52:07+00:00

I trying to use PHP’s file upload abilities, but when I try to upload

  • 0

I trying to use PHP’s file upload abilities, but when I try to upload certain file sizes (9MB for example) it’s not going through. Smaller files goes fine.

Even when I set error reporting to be on “E_ALL” and try and upload a bigger file. I don’t see any error message.

I have tried setting these lines at the top of the PHP script that uploads the files but still no go:

ini_set('memory_limit', '96M');
ini_set('post_max_size', '96M');
ini_set('upload_max_filesize', '96M');
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:52:07+00:00Added an answer on May 16, 2026 at 5:52 pm

    Take a look at the list of parameters for PHP and where you can set them. If I read that list correctly, post_max_size and upload_max_filesize can only be set in php.ini, not via ini_set.

    Set those values in the appropriate php.ini (there are different ones for CLI and mod_php), or if you don’t have access to the main php.ini create a php.ini in your folder.

    To check if the settings work, create a phpinfo file and check the values.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use php tag in a javascript function. But unfortunately its not
I'm trying to use php to create a zip file (which it does -
I'm trying to use PHP_CodeSniffer to sniff the problems in a php file according
I'm trying to use PHP in the terminal under MAMP but I got an
I'm trying to use PHP to process JSON and am having trouble parsing it
I am trying to use PHP and MySQL's Create Table Select between two different
I'm trying to use PHP to create a script that searches all the days
I am trying to use PHP mod_rewrite to alter some URLs. As a test,
I am trying to use php datetime object for handling dates. Here is my
I'm trying to use PHP reflection to dynamically load the class files of models

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.