PHP copy function returns TRUE value

Solution Unverified - Updated -

Issue

When copying a file to a destination where not enough free space is available, PHP always returns boolean TRUE which results in a truncated file and risk of data loss.

Environment

Red Hat Enterprise Linux 6.3

RPMs:
php-common-5.3.3-22.el6.x86_64
php-cli-5.3.3-22.el6.x86_64
php-5.3.3-22.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content