0👍
I tried to produce the solution simply. I saw that the permits I gave were not working. I did the following respectively.
php.ini -> open_basedir = none
php.ini -> system_temp_dir = "/ var / www / tmp /"
chmod 0777 / var / www / tmp /
chmod 0777 / var / www / uploads
and change php script
$ path = '/ var / www / uploads /';
this is work know. Thank you everyone.
Source:stackexchange.com