Posts

Cinema website ko localhost per setup kaise kare

Ajay deplapar
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

1. XAMPP/WAMP Localhost Setup
Sabse pehle apne system par XAMPP ya WAMP install kar lijiye.

Install ke baad, XAMPP Control Panel khol kar Apache aur MySQL service ko start kar lijiye.

2. Project Folder Copy Karna
Apne Adept Cinema folder ko XAMPP ke htdocs (C:\xampp\htdocs) ya WAMP ke www folder mein copy kar dijiye.

Folder ka naam simple rakh sakte hain, jaise: adeptcinema

Example path: C:\xampp\htdocs\adeptcinema

3. Database Connection Setup
common/config.php file mein host, username, password by default already set hai:

php
$host = '127.0.0.1';
$dbname = 'Adept Cinema_db';
$username = 'root';
$password = 'root';

XAMPP ka default MySQL username root hai aur password mostly blank hota hai.

Agar password blank hai toh config.php mein likh dein:

php
$password = '';

Agar password root set hai, toh waise hi chhod dijiye. Nahi toh phpMyAdmin se change kar sakte hain.

4. Install Script Chalana (Database Create Karna)
Browser open karke address bar mein likhiye:

text





http://localhost/adeptcinema/install.php


Ye script database aur tables create karegi, aur default admin user bhi daal degi.

Installation ke baad aapko automatically admin login page par redirect kar dega.

5. Admin Panel Login
Admin login page par username/password fill karein:

Username: admin

Password: admin123

6. Movie App Access
User side ka homepage open karne ke liye browser me likhiye:

text

 http://localhost/adeptcinema/index.php 

7. Agar Password Error Mile (Access Denied)
Agar login karte waqt database password error aaye, toh:

phpMyAdmin kholen: http://localhost/phpmyadmin

User root ka password check karein.

Jo bhi password ho, usko common/config.php mein update kar dein.

8. Live Hosting Par Upload Karna
Saare project files ko zip kar ke hosting (CPANEL/File Manager/FTP) par upload karen.
Database setup ke liye install.php run karen.
Hosting par DB config (common/config.php) mein apne MySQL server ki details set karen (jaise host, username, password).







Post a Comment

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
Site is Blocked
Sorry! This site is not available in your country.