is cloudlinux limited readdir php function ?
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Wojciech Babicz
  2. 01.04.2012
  3.  Subscribe via email
I have problem with one script looks like this:

if( is_dir($dir) ){
if($handle = opendir($dir)) {
while (false !== ($file = readdir($handle))) {
echo $dir .\'<b>\'. $file.\'</b><br />\';

On i.e. CentOS this reads many files in directory
but on cloudlinux reads only 10 first files, and then stops.

How to discover why it is so ? I set in LVE Manager 3GB of ram, but I can\'t see that script reach the limit.

It should be something else, but where to search for such limits in read files ?

What could it be ?
Rate this post:

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.