DEV Community

Davdud
Davdud

Posted on

Need help hosting php

I have made a login system but cannot find which databases to use to store my data and also how to host a dynamic site for free. Can anyone help?

Top comments (2)

Collapse
 
victorrims68524 profile image
Rimsha Victor Gill

Hosting PHP Application for Free:

Use a Platform as a Service (PaaS) provider like Heroku.
Sign up for a Heroku account and install the Heroku CLI.
Create a "Procfile" and deploy your PHP application to Heroku.
Choosing a Database for Your Login System:

Use MySQL or MariaDB as your database for storing user credentials.
Options:
Hosted Database Service (AWS, Google Cloud, Azure).
Local Development (XAMPP, WAMP, MAMP).
Free hosting providers with a database included (e.g., 000webhost).
Remember to modify your PHP code to connect to the database and handle login system operations securely. For larger applications, consider paid hosting or managed cloud hosting options for better performance and scalability.

Collapse
 
manishfoodtechs profile image
manish srivastava

The bestone is MySQL. Stick to it until you learn to play with other databases. It's free and open source. Most important it's easy to learn and most popular.

Login system:

  1. How you created a login system without database? Where you storing password? Is your password hashed? Are you using SQLite?
  2. 000webhost.com

Free Web Hosting with PHP, MySQL and ...