Solved

Plesk Website running IIS 7.5  PHP - Can only upload maximum of 19 files?

Posted on 2015-01-04
6
35 Views
Last Modified: 2016-05-08
Plesk Website running IIS 7.5  PHP - Can only upload maximum of 19 files using a php upload script?
I have access to the server and I modified both php.ini files
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5
C:\Program Files (x86)\Parallels\Plesk\admin\bin

max_file_uploads = 999

I am wondering if this is an IIS issue or PHP?
0
Comment
Question by:bitstreaminc
  • 2
  • 2
6 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 40530559
Do you mean "19 files" all at one time?  The second thing I wonder is how big the files are.  IIS and PHP both have limits on the size of POST content.  It is unusual to upload that many files with PHP instead of FTP.
0
 

Author Comment

by:bitstreaminc
ID: 40530676
Yes, 19 files all at once.
They are tiny, you can see the actual site live:

http://www.amiexpress.co.uk/doors/
The files are tiny, so it should not be a size issue, even if I upload 22 of them the issue occurs.
You can create an account and view the error and delete the files once you upload them.
Most of the files are already there so it only tries to upload 19 even if they exist.
You can download the files I am trying to upload here:
http://www.amiexpress.co.uk/amiforum/viewtopic.php?f=9&t=13
It is the door pack.

Thanks for the help.

Jorge
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40530709
When you do an 'upload', all the files are considered part of the same 'post', not as individual files.  Run 'phpinfo()' to see what your 'post_max_size' is in PHP.  Be aware that IIS also has similar limits outside of PHP.  Also take a look at 'memory_limit'.  'memory_limit' includes the space for the PHP interpreter, the PHP program, and any data that the program uses.

http://php.net/manual/en/ini.list.php
0
 

Author Comment

by:bitstreaminc
ID: 40530728
It ended up being post_max_size in php.ini
The site was split onto multiple servers and I was looking at the wrong site.
The php info page helped me figure it out.
Thanks for helping out.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to count occurrences of each item in an array.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now