Solved

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

Posted on 2015-01-04
6
47 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
[X]
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
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

728 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