How do I configure a laravel project that is downloaded directly from the server on the local WAMP?

Source: Internet
Author: User
Keywords Php laravel

I copy the online server-based Laravel development project directly to local, then I intend to build a test environment in the local tower (don't ask why), then I run in the local Wamp integrated development environment, open Directory is like this.

Then use the command line PHP artisan serve same error.

I know it's not the right way, but I can't find the information on the Internet. So here's how to get a copy from the server to be locally configured as a test environment? Not much thanks ~

Reply content:

I copy the online server-based Laravel development project directly to local, then I intend to build a test environment in the local tower (don't ask why), then I run in the local Wamp integrated development environment, open Directory is like this.

Then use the command line PHP artisan serve same error.

I know it's not the right way, but I can't find the information on the Internet. So here's how to get a copy from the server to be locally configured as a test environment? Not much thanks ~

Laravel need to be executed directory such as Web/public also need to be and public

Laravel's portal file is not in the root directory, in public
The way to access is http://www.example.com/public/index.php

If you take the source directly from git, you need to install composer and then composer installed.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.