In which folder do i put my php and other files intended for public view

Posted November 11, 2016 8.5k views
PHPApplicationsUbuntu 16.04

Ok, i’m pretty new to digital ocean. I managed to install everything including php admin. i’m trying to upload my files through a deploying website because my files are hosted on bitbucket and github. Where should i deploy my files to? tried /var/www/html and /var/www/ but they don’t see to work.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

you will upload files to your document root. if you install you LAMP following this tutorial then your document root is /var/www/html. that means you will upload files into html folder.

by Brennen Bearnes
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is...

Thanks again, i realized i was pushing as web app instead of pushing through FTP