• PHP环境配置


    1:JetBrains PhpStorm 2017.3 x64 破解版,下载地址和破解方法

    http://www.oyksoft.com/soft/40722.html

    http://blog.csdn.net/kaishizige/article/details/79300238

    XAMPP+PHPStorm 环境搭建

    http://blog.csdn.net/u014427391/article/details/50902201       //破解版仅仅用于学习用途

    2:端口设置

         安装XAMPP 更改apche端口80——》8080   443-》4433

    3:PhpStorm 软件配置

    htdocs //文件是默认的本地服务器的目录

    4:虚拟域名的设置:简单来说就是把文件夹的目录代替为域名

    改C:/WINDOWSsystem32driversetc目录下的 hosts 文件,用Notepad++ 或记事本打开,加入:

    # Copyright (c) 1993-2009 Microsoft Corp.

    #

    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

    #

    # This file contains the mappings of IP addresses to host names. Each

    # entry should be kept on an individual line. The IP address should

    # be placed in the first column followed by the corresponding host name.

    # The IP address and the host name should be separated by at least one

    # space.

    #

    # Additionally, comments (such as these) may be inserted on individual

    # lines or following the machine name denoted by a '#' symbol.

    #

    # For example:

    #

    #      102.54.94.97     rhino.acme.com          # source server

    #       38.25.63.10     x.acme.com              # x client host

    # localhost name resolution is handled within DNS itself.

    #      127.0.0.1       localhost

            127.0.0.1 www.a.com

        127.0.0.1 www.b.com

      0.0.0.0 account.jetbrains.com

    2: # Virtual hosts

    Include conf/extra/httpd-vhosts.conf 去掉#号

    3:xamppapacheconfextrahttpd-vhosts.conf

    <Directory "E:www est">

     Options FollowSymLinks

     AllowOverride All

     Order allow,deny

     Allow from all

    </Directory>

    <VirtualHost *:8080>

     ServerName www.a.com

     DocumentRoot "E:xampphtdocs hinks" //用E:xampphtdocs hinks +》等价于 www.a.com

    </VirtualHost>

  • 相关阅读:
    [转]游戏开发指南
    [转]C++接口定义及实现举例
    [转]关于模板函数/模板类编译成DLL
    [转]游戏程序员要求
    [转]如何定位Release程序崩溃原因
    [转]对0基础MFC者的一点建议
    [转]链接警告 LNK4098
    动态调用WCF
    动态添加删除WCF服务类包
    将Xaml文档转成XPS文档[转]
  • 原文地址:https://www.cnblogs.com/love-life-insist/p/9092954.html
Copyright © 2020-2023  润新知