I have a web server (VPS) running through vultr.com that has Ubuntu 16.04 on it. I run WordPress on my /www root. I then have a store on example.com/store that it is not through WordPress. It is through another program. I have contacted the developer and we have determined that the problem is that the folders and files need to be writable (for people to log in and place orders). However, right now with default permissions they are not. He told me to use Fast CGI to allow folders and files to be writable with default permissions. I installed and configured FPM/FastCGI following this tutorial (https://tecadmin.net/install-apache-php-fpm-ubuntu/). So now when I go to example.com/info.php the "Server API" is "FPM/FastCGI" instead of the default "Apache2". Yet still, the folder/files are not writable with default permissions. I changed the store file to 775 and that made it work but I have been made aware that making permissions 775 is not safe. If 775 is safe and a good solution that would be great as well. Thanks so much in advance for any help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.