Strange situation I use the PHP method disk_free_space to determine free disk space. The result is 1.36 gigabytes. Although checking the disk space with the df -h command (for the purity of the experiment under the same user, under which Apache works), I see that 11 gigabytes is available. How can this be? And how to increase the available Apache place?

enter image description here

Closed due to the fact that off-topic participants aleksandr barakin , zRrr , VenZell , D-side , PashaPash 12 May '16 at 16:21 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, zRrr, VenZell, D-side, PashaPash
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    Show disk_free_space how you call disk_free_space and output it, maybe you incorrectly converted to gigabytes. - alias
  • Did he accidentally show you a place not in the / tmp directory? - Mike
  • one
    Problem solved. The fact is that the directory in which cms tried to find out the place is not exactly a directory, it is a server mounted via curlftpfs ftp. Well, actually this cms could not get the amount of free space. Thanks to all. - Viktor K.

0