Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Form Calculate Total Price 10 117
youtube blocking politics 4 75
Pure CSS popout image menu - want the most beautiful style. 7 68
DW 2017 background color change 5 23
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
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 purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

679 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