zoukankan      html  css  js  c++  java
  • xampp 搭建 web mac上

    1、安装 

    2、修改数据库密码,删除phpmyadmin  ,用navicat 控制数据库

    3、修改/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf  修改需要部署的网站属性

     

    <VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /Users/ali/PhpstormProjects/jjr
    ServerName t.xx.com
    ServerAlias t.xx.com
    ErrorLog logs/t.xx.com-error_log
    CustomLog logs/t.xx.com-access_log common
    </VirtualHost>

    4、修改/Applications/XAMPP/xamppfiles/etc/httpd.conf 

    a..打开Include etc/extra/httpd-vhosts.conf

    b..设置允许访问路径

    
    

    <Directory />
    AllowOverride none
    Require all granted
    </Directory>

    5、重启服务器!OK
  • 相关阅读:
    zfs
    targetcli
    targetcli
    自动制linux iso包
    yum解决重复包,依赖冲突问题
    lvm相关
    vmware相关
    配置本地yum源
    k8s安装prometheus监控
    流水线基础-Pipeline
  • 原文地址:https://www.cnblogs.com/aliblogs/p/5574598.html
Copyright © 2011-2022 走看看