Forum Moderators: coopster

Message Too Old, No Replies

number of files in folder

         

omoutop

1:56 pm on Jul 6, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not a pure php question, bur here goes.

How many files can php handle in a single folder?
How many files can apache handle in a single folder also?

The reason i ask this is because i found a usefull script that stores some user data (in txt format) inside a folder.
I was wondering if php/apache can handle large quantities of files... 10.000 or more

rocknbil

2:47 pm on Jul 6, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think there's a numeric limit, and it depends on the OS. The real problem with lots of files in a directory is management if you have to deal with the files manually, and slow down of reading those directories due to memory and speed of the server. One recent discussion for 'Nix [webmasterworld.com] and a short one for windows-based servers [webmasterworld.com].

omoutop

5:57 am on Jul 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



i see.. thanks for the links