2. httpd-vhosts.conf file
Add VirtualHost at the end
Home >
Article > Backend Development > [php][xampp] Deploy projects based on the CodeIgniter framework VirtualHost The above is the detailed content of [php][xampp] Deploy projects based on the CodeIgniter framework. For more information, please follow other related articles on the PHP Chinese website![php][xampp] Deploy projects based on the CodeIgniter framework
1.
httpd.conf
File
58
Line, modify the deployed port Listen 8090
246-247
line, modify the deployment root directory<code class="sourceCode php">DocumentRoot <span class="st">"D:/CodeRepository"</span>
<<span class="kw">Directory</span> <span class="st">"D:/CodeRepository"</span>></code>
2.
httpd-vhosts.conf
File
at the end of
<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>
Related articles
See more