PHP server not processing all the uploaded files

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
mohan123
Forum Newbie
Posts: 1
Joined: Fri Sep 09, 2016 3:38 pm

PHP server not processing all the uploaded files

Post by mohan123 »

I have a leased LAMP ( Linux version 5.3. 29)server from one of the internet providers. My script uploads upto 25 resume files to the server that processes each of these files and outputs an extract of skill/ experience of each of these files. Te script was able to read all the files as intended
The hard disk in the server crashed and was reimaged with Linux version 5.4.16,.The backed up program and data files were then re-instlled . However the same scripts uploads all the files but now reads only 9 to 11 of the 25 files uploaded. The remaining files were not read.

My php.ini file is configured as follows

Code: Select all

max_input_time= -1
output_buffering = On
max_execution_time = 30 
max_input_time = 60
memory_limit = 128M
log_errors_max_len = 1024
post_max_size = 8M
upload_max_filesize = 2M
Appreciate help in resolving this problem
User avatar
Celauran
Moderator
Posts: 6425
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: PHP server not processing all the uploaded files

Post by Celauran »

Anything in the error log? How big are these files? How are they being uploaded? Could they be exceeding either of the file size limits? What's the value of max_file_uploads?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP server not processing all the uploaded files

Post by requinix »

Also look at the [error]s in $_FILES. That will tell you exactly what went wrong.

(Well, it will give you a number, but you can look it up to see what it means.)
Post Reply