What is the easiest way for me to set up user accounts and sessions on my website?

Posted June 14, 2017 1.5k views
MySQLApachePHPUbuntu 16.04

I’ve recently got into home networking and set up a LAMP stack in Ubuntu 16.04 LTS. I added NextCloud and got it set up as well. How can I set up user accounts and sessions as easily as possible? I’m just starting out so I do not know to write PHP, MySQL, etc. from scratch (although I can edit files and understand configs and whatnot). NextCloud makes a database and and table for users by default and (if it’s reasonably secure) I would like to use it. I could also make a new one and let NextCloud use it, with guidance. Thanks!

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
1 answer

Hi @forestman11,

Since you are using NextCloud, I’ll recommend checking it’s documentation. It’s quite well written and it does have a section you are looking for.

The sections is called User Management and explains the bases of it and how to use it. All can be found here -