note 111912 rejected from function.copy by aharvey
| From: | aharvey@php.net | Date: | Thu, 11 Apr 2013 00:05:07 +0000 |
| Subject: | note 111912 rejected from function.copy by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194444@lists.php.net to get a copy of this message | ||
Note Submitter: indunil dot walpita at gmail dot com
----
Hi Guys,
I have an issue on copy() function...
It perfectly work on Windows environment but it want work on our Linux(Ubuntu) server.
copy() return false.
I use it as :
$success = copy($absolute_path_orginal,$absolute_path_dest);
Original file user is Apache and the group also Apache.
And the destination folder user and the group was root, root.
Then I change it to apache, apache, but it it also didn't work.
So can you guys help me on this issue :)
If the issue is not clear much to you please let me know.
Thanks.
/Indunil