简体   繁体   English

使用WAMP服务器在Windows服务器上部署laravel 5

[英]Deploying laravel 5 on Windows server with WAMP server

Can I ask for some help? 我可以寻求帮助吗? I'm deploying my Laravel project to a windows server. 我正在将Laravel项目部署到Windows服务器。 I installed WAMP server and use MySQL for my database. 我安装了WAMP服务器,并将MySQL用于我的数据库。 I use my public IP, because we have no domain name yet, so we just use a public IP and then port forwarding it to my server's IP. 我使用我的公共IP,因为我们还没有域名,所以我们只使用公共IP,然后将其转发到服务器的IP。 My problem is, how can I see my site, if this is my public IP xxx.xx.xxx.xx? 我的问题是,如果这是我的公共IP xxx.xx.xxx.xx,该如何查看我的站点? Do I need to use the PHP artisan serve? 我需要使用PHP工匠服务吗? But is there a way not to use the PHP artisan serve ? 但是有没有办法不使用PHP工匠服务?

Thank you in advance. 先感谢您。

If you use the WAMP server, you can use the localhost or 127.0.0.1 and the path_to_your_project 如果使用WAMP服务器,则可以使用localhost或127.0.0.1和path_to_your_project

ex : 127.0.0.1/myproject/ public/ 例如:127.0.0.1/myproject/ public /

And you will see your project ! 您将看到您的项目!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM