skip to Main Content

I want to run a php project with database on my server for learning purpose. After setting up xampp I pasted the project file[filename: HRMS-FRESH] in htdocs/ folder, Afterwards I made a database( same name as the sql file name ) and imported the database file. The import was successfully performed sql file Import success
Now when I went to http://localhost/HRMS-FRESH it said

Not Found

The requested URL was not found on this server.


Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.1 Server at localhost
Port 80

I thought the project page would appear but it didn’t

Here is the Picture of HRMS-FRESH directory

HRMS-FRESH directory

.htaccess
.htaccess file

2

Answers


  1. Try localhost/folderOfYourProject/

    Login or Signup to reply.
  2. Check Your localhost first

    try input http://localhost in browser and you will get xampp first page.

    If alright remove that .htacess from your folder and try http://localhost/HRMS-FRESH/index.php it must run if everything is okey. IF it run check your .htacess file and did you enable it on xampp ? IF not google how to enable it, once it is done put back your .htaccess and check your site. It must work :))

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search