skip to Main Content

I am upload project file to Sub Domain. But In web site,just project files is showing. Project is not execute. How can i resolve this problem ?

Subdomain is active.

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I installed composer and I add .env file the run some commands like

    php artisan key:generate
    php artisan clear-compiled
    php artisan cache:clear
    php artisan config:clear
    php artisan optimize
    php artisan route:cache
    

    Then resolved problem.


  2. Your hosting and configuration should have the ff:

    1. Appropriate PHP version compatible to your Laravel project.
    2. Composer and Laravel installed.
    3. Proper web server configuration for Apache, Nginx, Litespeed, etc. This is most likely where your problem is, where you should only expose the /public folder as the only public directory of your page.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search