Hello,
I am running Version: 1.8.8 , PROFTPD .
I am running a PHP Script that makes file, but it will Not write to directory
S , from Command line I have to run this … (
sudo chown -R www-data:www-data /home/$User/web/$Domain/public_html ) To make it Write File, but then it will Not FTP ! So I have to Run this … ( sudo chown -R $YourUserName:www-data /home/$User/web/$Domain/public_html ) To make FTP work , but then it will Not Write File I have Searched & found these commands ! Is there anything I can do to make it work for Both ?
Also , in Apache2 conf files for each Domains I have to Change the Root for Document Root , from /var/www/html/
Thank-You
By default we run php under the user… So it should work fine …
It is odd, I have been struggling with this for a week now , no avail, sadly.
What template do you use for php and nginx / apache2
Sorry for sounding daft , but , template ?
Well , this is ODD ! I have cp a .conf from a different site to the one that did Not work & now it Works ! Most ODD !
Please Close Topic
Thank-You
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.