Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

839 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