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

  • Home
  • SEARCH
  • 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 9069233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:22:32+00:00 2026-06-16T17:22:32+00:00

I am uploading a 24mb sql file and have been following the instructions to

  • 0

I am uploading a 24mb sql file and have been following the instructions to setup an upload dir for phpmyadmin using $cfg[‘UploadDir’]. Unfortunately it is not working.

I have created a folder inside my phpMyAdmin folder called ‘upload’.

In my config.inc.php I have put the following:

$cfg['UploadDir'] = 'upload';

This config was wizard created by PMA.

I have also tried:

$cfg['UploadDir'] = './upload';
$cfg['UploadDir'] = '/absolute_php_my_admin_address/upload';

I’ve also tried all those variations with a trailing ‘/’ on the end.

I’ve found many threads on the web with the exact problem. My upload folder has the same permissions and ownership as the parent PMA directory. I am also not running in Safe mode.

Have you run into this issue and solved it? Running PMA 3.5.2 on Redhat 5.

  • 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-06-16T17:22:33+00:00Added an answer on June 16, 2026 at 5:22 pm

    I know this is old but the google search for that problem points here. So here is the answer:

    Debian and Ubuntu limits the access for folders. You must use the phpmyadmin folder for that.

    In Ubuntu it is “/etc/phpmyadmin/” (without the quotes).

    So the config would be:

    $cfg['UploadDir'] = '/etc/phpmyadmin/';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im uploading a file using the following jquery.. function ajaxFileUpload(jobid) { $(#loading) .ajaxStart(function ()
In my php project i have to upload a file with 11mb. maximum uploading
I have an file uploading site, it has an option of uploading through urls,
I am uploading a file using a simple FileUpload control named theFile (ASP.NET). I'm
I have users uploading data from an excel file to my server, parsed, and
I am uploading three files using Zend Element File. I am uploading and renaming
I'm uploading one file from one server to other using ssh2_scp_send(). Everything works fine,
When uploading a file from iPhone, my code produces the following error: Warning: move_uploaded_file()
I am handling a uploading image file using PHP, then using ImageMagick to create
Uploading files from asp.net to SQL Server 2008, after I upload to SQL Server

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.