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

November 11, 2016 85 views
Applications PHP Ubuntu 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.

2 Answers
newbie November 11, 2016
Accepted Answer

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.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

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

Have another answer? Share your knowledge.