Solved

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

Posted on 2015-01-04
6
28 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 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
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 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will learn how to count occurrences of each item in an array.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

762 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

10 Experts available now in Live!

Get 1:1 Help Now