企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# **部署php环境** **laravel 要求php5.5以上** **下载wampserver:** http://www.wampserver.com/en/download-wampserver-64bits/#download-wrapper 跟据自己系统多少位下载相应的wamp **安装后,加入环境变量:** 1. C:\wamp64\bin\php\php5.6.25 ![](https://box.kancloud.cn/938122805709c893312590d98e7c94b9_419x456.png) 2.打开cmd ,测试php环境变量是否成功 ![](https://box.kancloud.cn/0349ee893525929e1bea8b4f6e324477_677x442.png) 3.新建一个虚似主机 打开:C:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf ~~~ <VirtualHost *:80> ServerName www.laravel.cc DocumentRoot F:\www.laravel.cc\public <Directory "F:\www.laravel.cc\public"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> ~~~