Answer the question
In order to leave comments, you need to log in
VPS setup why files are not loaded from a PHP script?
After migrating Wordpress to VPS (DO/Ubuntu 16.04.5 x64) I can't get scripts to upload files. I understand the question of rights.
aux|grep apache
root 11630 0.0 0.0 12944 944 ? S 08:48 0:00 grep apache
root 12921 0.0 2.4 445060 25168 ? Ss Feb13 0:03 /usr/sbin/apache2 -k start
www-data 21734 0.0 0.6 155660 6652 ? S Feb13 0:01 /usr/sbin/apache2 -k start
www-data 21735 0.0 6.9 538504 70616 ? S Feb13 0:09 /usr/sbin/apache2 -k start
www-data 21736 0.0 6.7 539860 68940 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 21737 0.0 6.2 535672 63872 ? S Feb13 0:07 /usr/sbin/apache2 -k start
www-data 21738 0.0 6.6 537784 67076 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 21739 0.0 6.4 537852 65408 ? S Feb13 0:07 /usr/sbin/apache2 -k start
www-data 22407 0.0 5.9 534988 60896 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 24350 0.0 6.2 535740 63556 ? S 06:32 0:07 /usr/sbin/apache2 -k start
aux|grep www-data
root 11682 0.0 0.0 12944 984 ? S 08:48 0:00 grep www-data
www-data 21532 0.0 0.6 54280 6592 ? S Feb13 0:12 nginx: worker process
www-data 21533 0.0 0.2 53736 2540 ? S Feb13 0:00 nginx: cache manager process
www-data 21734 0.0 0.6 155660 6652 ? S Feb13 0:01 /usr/sbin/apache2 -k start
www-data 21735 0.0 6.9 538504 70616 ? S Feb13 0:09 /usr/sbin/apache2 -k start
www-data 21736 0.0 6.7 539860 68940 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 21737 0.0 6.2 535672 63872 ? S Feb13 0:07 /usr/sbin/apache2 -k start
www-data 21738 0.0 6.6 537784 67076 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 21739 0.0 6.4 537852 65408 ? S Feb13 0:07 /usr/sbin/apache2 -k start
www-data 22407 0.0 5.9 534988 60896 ? S Feb13 0:08 /usr/sbin/apache2 -k start
www-data 24350 0.0 6.2 535740 63556 ? S 06:32 0:07 /usr/sbin/apache2 -k start
Where to dig?
It works only if you put down the rights 777 on the necessary folders with your hands.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question