2. httpd-vhosts.conf file Add VirtualHost at the end Docu"/> 2. httpd-vhosts.conf file Add VirtualHost at the end Docu">

Home  >  Article  >  Backend Development  >  [php][xampp] Deploy projects based on the CodeIgniter framework

[php][xampp] Deploy projects based on the CodeIgniter framework

PHP中文网
PHP中文网Original
2017-06-17 16:00:311596browse

1. httpd.confFile

  • 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.confFile

  • Add

    VirtualHost 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>

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn