httpd.conf
文件58
行,修改部署的端口Listen 8090
246-247
行,修改部署根目录
<code class="sourceCode php">DocumentRoot <span class="st">"D:/CodeRepository"</span> <<span class="kw">Directory</span> <span class="st">"D:/CodeRepository"</span>></code>
httpd-vhosts.conf
文件末尾添加VirtualHost
<code class="sourceCode php"><VirtualHost *:<span class="dv">8090</span>> DocumentRoot <span class="st">"D:/CodeRepository/dianligongdan/"</span> ServerName <span class="fl">127.0.0.1</span> </VirtualHost></code>
以上是[php][xampp]部署基于CodeIgniter框架的项目的详细内容。更多信息请关注PHP中文网其他相关文章!