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 1059979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:15:19+00:00 2026-05-16T18:15:19+00:00

I have a wordpress blog. I made a custom page-template that allows users to

  • 0

I have a wordpress blog. I made a custom page-template that allows users to upload files to my server. Just a simple php script which connects to my server with a form to select a file, blabla.. you know!

However the upload-feature doesn’t make any sense with a max_upload_filesize of 20mb.
Now i want to change that. According to my hosting-provider it’s REALLY EASY, but i think for normal people without experience in that field it’s not. Anyway…

they told me i should create a .htaccess file where my upload-script is housed. So that’s actually in my wordpess theme folder.

in the .htaccess file i should place “suPHP_ConfigPath” and the path to this directory.

so in my case this would be: (at least i think that’s the path)

suPHP_ConfigPath /clientdata/n5200-2-dynamic/a/l/mydomain.com/www/wp-content/themes/mytheme/

Moreover i should create a php.ini file in the same directory that says:

upload_max_filesize = 500M ;
post_max_size = 500M ;

I did all of that and even created a info.php file in the same directory to check if the thing worked. However the php_info tells me still that the upload-size is set to 20mb.

Did I get anything wrong here? Do you guys have an idea what I’m doing wrong?
Does the php_info in that case even tell me the truth and the script should normally work? or should the php_info tell me that the size is set to the value I changed it to?

  • 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-16T18:15:19+00:00Added an answer on May 16, 2026 at 6:15 pm

    First of all, create a test.php file in the theme folder and put this into it;

    <?php
        phpinfo();
    ?>
    

    Run http://mydomain.com/…/test.php in a browser and find ‘Configuration File Path’ on the page. If it does not match the one you mentioned in .htaccess, then the .htaccess is not working. Verify the name of .htaccess file and first make sure .htaccess is actually working first. If not, call your hosting support to help you out.

    If the configuration path is showing as the one you specified in .htaccess, then
    try putting these lines in the .htaccess file also and see if it works.

    php_value upload_max_filesize “500000”
    php_value post_max_size “500000”

    If htaccess is working, also trying changing the value of the numbers in php.ini to 500000, instead of 500M.

    I Hope your problem gets solved soon.

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

Sidebar

Related Questions

I have a WordPress blog installed on my server but when i upload a
I made a wordpress blog: link text I have a separate htm page with
I have multisite Wordpress blog that have three custom fields that have text heading
i have made a simple php contact form following this tutorial: http://www.catswhocode.com/blog/how-to-create-a-built-in-contact-form-for-your-wordpress-theme The big
i have wordpress blog in my custom built website, i am displaying some posts
I have a WordPress blog and I'm trying to make that when a user
I have a (wordpress) blog where after commenting the users are redirected back to
I have one wordpress blog whose home page is showing a list of 10
I have a blog (wordpress) and a facebook fan-page for my blog (with more
I have this wordpress blog that has many pages with subpages that dropdown on

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.