在phpStudy怎么配置虚拟地址

C:\phpStudy\Apache\conf httpd.conf中Include conf/extra/httpd-vhosts.conf去掉注释
进入C:\phpStudy\Apache\conf\extra 中httpd-vhosts.conf中配置网址
例子:
<VirtualHost *:80>
DocumentRoot "D:\WWW\ajax"
ServerName www.ajax.com
</VirtualHost>
最后
C:\Windows\System32\drivers\etc\hosts (配置网址)
127.0.0.1 www.ajax.com
重启服务器

C:\phpStudy\Apache\conf httpd.conf(解决网址无法访问)
例子

C:\phpStudy\Apache\conf httpd.conf文件中Include conf/extra/httpd-vhosts.conf注释加上
C:\phpStudy\Apache\conf\extra中httpd-vhosts.conf全部注释

时间: 2024-08-30 03:10:41

在phpStudy怎么配置虚拟地址的相关文章

phpstudy本地配置教程You don&#39;t have permission to access解决

没有选择面板中的[其他选项菜单]-[phpstudy设置]-[允许目录列表]. 以下是官方给出的解答. phpstudy本地配置教程You don't have permission to access解决 原文地址:https://www.cnblogs.com/hunchun/p/8602512.html

PHP的环境,phpstom的使用,phpstudy的配置,wamp的配置

php是一个环境, 相当于一个鱼生活的水的环境.也就是没有水的环境, 鱼是没有办法存活的 PHP生存的环境有多种的   这边推荐几种,wanp 是一种集成的PHP环境,phpstudy更适合初学者去学习.phpstom是我们工作的环境, 刚刚说了phpstudy 是生存环境, 那么phpstom 相当于生存活动了. PHP 安装 您需要做什么? 为了开始使用 PHP,您可以: 找一个支持 PHP 和 MySQL 的 Web 主机 在您自己的 PC 机上安装 Web 服务器,然后安装 PHP 和

PhpStorm+PhpStudy+xdebug 配置图解

转自:http://www.dingxiaoyue.com/topic/56c4354589397f8f60130d37 1.配置niginx.ini,新增 server节点,比如使用9200 端口 server { listen 9200;#本地调试,不用80端口 server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; root "F:/Smarket/seminar/SSeminarB&qu

phpstudy xdebug 配置

来源:https://baijiahao.baidu.com/s?id=1607680791440431678&wfr=spider&for=pc https://www.cnblogs.com/lipcblog/p/6995115.html 文件下载地址:https://xdebug.org/download.php 文件检测地址:https://xdebug.org/wizard.php a.查看php版本信息 注意系统位数 b. 访问XDEBUG 网站,下载对应的版本 https:/

Linux配置虚拟地址

立即生效: [[email protected] ~]ifconfig eth0:0 192.168.1.101 netmask 255.255.255.0 up 写入本地: [[email protected] ~]$ cd /etc/sysconfig/network-scripts [[email protected] network-scripts]$ vi ifcfg-eth0:0 DEVICE=eth0:0 ONBOOT=yes BOOTPROTO=static IPADDR=192

centos 安装amp 运行环境+配置虚拟地址

一.安装 MySQL 首先来进行 MySQL 的安装.打开超级终端,输入: [[email protected] ~]# yum install mysql mysql-server 安装完毕,让 MySQL 能够随系统自动启动: [[email protected] ~]# chkconfig --levels 235 mysqld on[[email protected] ~]# /etc/init.d/mysqld start 设置 MySQL 数据 root 账户的密码: [[email

phpstrom 下载及phpStudy环境配置

1.下载phpstudy 2.打开 3. 4. 5.网站网址   项目路径 新增         host映射 PHP富文本编辑器 6.https://jingyan.baidu.com/article/fea4511a4e191cf7bb912511.html 7.安装时 8.

phpStudy环境配置多个站点,绑定域名

经常做网站的朋友,往往要在自已的电脑同时建立多个站点,而phpstudy这款软件就能很好的解决这个问题,大家看下图 点击上图中的 其它选项菜单 ,就会弹出下面的对话框,然后点击 站点域名管理 然 后在 网站域名的编辑框里填写你想要的任意域名,这里我就填写为www.test.com(注意这个域名一定不要填写你经常上网要用到的域名,不然到时当你想访 问时,会访问到你本地搭建的网站,谨记),网站目录编辑框你可以选择自己电脑任意一个目录,不过路径里不要包含汉字,我这里为 D:\E4A\examples,

phpstudy vhost 配置

server { listen 80 ; server_name user.fudaobank.com; index index.html index.htm index.php; root /alidata/www/abc; location ~ .*\.(php|php5)?$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf; } location ~ .*\.(gif|jpg|jpeg