xampp

apache绑定多个域名

牧云@^-^@ 提交于 2020-02-21 06:39:33
在httpd.conf里, 1、把#NameVirtualHost *:80前的注释去掉 2、ServerName 127.0.0.1 修改成ServerName 72.167.11.30 3、#NameVirtualHost * 修改成"NameVirtualHost 72.167.11.30" 简单的添加: <VirtualHost 72.167.11.30> DocumentRoot usr/local/www/ ServerName 72.167.11.30 </VirtualHost> <VirtualHost 72.167.11.30> DocumentRoot usr/local/www/minidx.com/ ServerName minidx.com </VirtualHost> <VirtualHost 72.167.11.30> DocumentRoot usr/local/www/ntt.cc/ ServerName ntt.cc </VirtualHost> 第二种情况: 1、首先修改C:/WINDOWS\system32\drivers\etc目录下的 hosts 文件,用Notepad++ 或记事本打开,加入: 127.0.0.1 www.a.com 127.0.0.1 www.b.com 2、 打开xampp\apache\conf\httpd

2. Xampp 部署代码 - 图文教程

五迷三道 提交于 2020-02-20 03:12:21
将 PHP 项目代码下载到本地后,在 Xampp 中启动 Apache 并配置项目目录即可运行 文章目录 1. 下载代码 1.1 使用命令行 1.2 使用 TortoiseGit 2. 在 Xampp 配置代码路径 2.1 配置主目录 2.2 重启 Apache 2.3 浏览器访问 1. 下载代码 代码需下载到 Xampp 安装目录的 htdocs 文件夹下,例如: D:\xampp\htdocs 1.1 使用命令行 在上述目录下右键,打开 Git 命令行工具 输入下载命令,按提示输入用户名密码,完成后可以看到代码已经克隆到本地 git clone http://47.95.120.59:8099/zhichaosong/ceping.git 1.2 使用 TortoiseGit 步骤同上,只是图形化的实现了命令行操作 2. 在 Xampp 配置代码路径 2.1 配置主目录 搜索并找到 DocumentRoot ,配置为项目下面的 public 路径并保存,如图所示 2.2 重启 Apache 2.3 浏览器访问 地址栏输入 localhost 或者 127.0.0.1 即可打开网站,路径会自动重定向 来源: CSDN 作者: zhichaosong 链接: https://blog.csdn.net/zhichaosong/article/details/104399853

安装xampp

两盒软妹~` 提交于 2020-02-19 15:06:35
因为疫情在家做毕业设计,安装xampp又出现了问题,还是用的从师姐那里拷来的2016版的,但还是出现很多问题。 1.apache和mysql都出现端口冲突 2.修改phpmyadmin的文件上传限制不成功 3.在对xampp进行设置修改的时候出现cant create file"D:/xampp/contral.ini" 昨天装装卸卸还几次都没有成功,修改上传限制也没有成功,今天问了师姐没有给我明确修复方法,我有点沮丧,直接在淘宝上买了安装服务。 在这里记录他是怎么安装的的。 首先,解决问题3,新电脑有很多权限控制,出现这个error就是因为这个软件无权访问该文件,更改一下安全设置就可以了。 而且我需要以管理员身份才能运行 其次,解决问题1,下载vc运行库 最后,解决问题2,我之前自己搜的教程只让我修改了upload_max_filesize和post_max_size这两个参数,除了修改上传文件大小限制,还要修改限制时间。 安装视频存在D:\文件. 来源: CSDN 作者: qq_37636738 链接: https://blog.csdn.net/qq_37636738/article/details/104359432

How to set xampp open localhost:8080 instead of just localhost

谁都会走 提交于 2020-02-18 05:12:17
问题 I use XAMPP 1.7.3. Apache and MySQL installed. Nothing else. Apache installed on default port 80. Clicking on Admin next to Apache opens http://localhost/xampp/ . Which works as expected. I navigated to xampp/apache/conf/httpd.conf and edited it. Set Listen 8080 . Now http://localhost:8080/xampp/ works as expected but the Admin button still opens http://localhost/xampp/ which does not open anything. I have restarted the computer after doing so with no results. How to make XAMPP apache admin

How to set xampp open localhost:8080 instead of just localhost

我怕爱的太早我们不能终老 提交于 2020-02-18 05:11:47
问题 I use XAMPP 1.7.3. Apache and MySQL installed. Nothing else. Apache installed on default port 80. Clicking on Admin next to Apache opens http://localhost/xampp/ . Which works as expected. I navigated to xampp/apache/conf/httpd.conf and edited it. Set Listen 8080 . Now http://localhost:8080/xampp/ works as expected but the Admin button still opens http://localhost/xampp/ which does not open anything. I have restarted the computer after doing so with no results. How to make XAMPP apache admin

My website doesn't “recognize” my database on localhost

六月ゝ 毕业季﹏ 提交于 2020-02-16 13:25:47
问题 I'm creating a website on localhost using XAMPP and phpMyAdmin to create a database. When I try to use my function to subscribe with a username and password, it seems that the db doesn't work: my site displays that it accepted the input, but in the user table on phpMyAdmin , I can't find the new user just added. I don't know if the problem is the query or the connection to db itself. Is there away to debug it? This php function that is included on all pages that use the db: <?php function db

xampp安装及配置

非 Y 不嫁゛ 提交于 2020-02-15 09:17:21
一、XAMPP 的安装过程 1:下载XAMPP 的 Linux 版 (1.7.4) http://www.apachefriends.org/en/xampp-linux.html#374 2:安装(XAMPP 被安装在 /opt/lampp 目录下) tar xvfz xampp-linux-1.7.4.tar.gz -C /opt 卸载可用: rm -rf /opt/lampp 更新需下载更新包后解压,然后在终端中输入: xampp-upgrade/start 3:开始运行 /opt/lampp/lampp start 4.其他重要参数及描述: start/stop/restart 启动/停止/重新启动 XAMPP。 startapache/stopapache/startmysql/stopmysql 只启动/停止 Apache/MySQL。 startssl/stopssl 启动/停止Apache 的 SSL 支持。该命令将持续激活/关闭SSL 支持 startftp/stopftp 启动/停止 ProFTPD 服务器。通过 FTP,您可以上传文件到您的网络服务器中(用户名“nobody”,密码“lampp”)。该命令将持续激活/关闭 ProFTPD,例如:执行该命令后,如果您关闭并重新启动 XAMPP,FTP 仍将处于激活状态。 security 启动一个小型安全检查程序

xampp的安装和配置

耗尽温柔 提交于 2020-02-15 09:09:35
工具/原料 xampp-win32-1.8.2-1-VC9-installer.exe 101 MB wordpress-3.7.zip 或者wordpress-3.6.1-zh_CN.zip 方法/步骤 下载xampp-win32-1.8.2-1-VC9-installer.exe文件,大小为101 MB,百度网盘下载地址:http://pan.baidu.com/s/1Du4qB。下载完后,点击安装。出现选择安装路径的一个窗口,然后是解压文 件。笔者的安装在D:\software\programingsoftware\xampp。然后,直接Next。 (图片展示了安装过程的弹出窗口的顺序) 安装过程中,会弹出一个xampp的主页,叫BitNami,上面有一个WordPress的位图,右侧就是WordPress的安装包。可以看 到最新的安装包。进度条完成后,即解压步骤完成后,点击Finish。接着就会跳出一个XAMPP Control Panel的窗口,这时候,点击Apache 和MySQL的start按钮,启动Apache和MySQL服务。 注意:笔者在安装到75%左右的时候,弹出了一个dos窗口,是关于php.exe的。由于时间太快,就没有剪辑到。 如果启动成功了,那两个start按钮就变成stop。恭喜你,安装太顺利了!接下来只需要进行wordpress的配置即可。但是

xampp的安装和配置

半腔热情 提交于 2020-02-15 09:09:17
这几天一直在做一个网站,客户要求要用PHP修改WordPress的themes,目的是交付完成后,客户自己管理方便。 以前从没有涉及过PHP,用的是jsp,但是,既然已经选择接受,就只能让自己去适应客户了。好吧,安装XAMPP的过程也是一件很纠结的事情。今天,我就把自己所遇到的问题写一下吧,和广大的程序猿交流经验。 首先来看看几张完成后的图片吧!!! 工具/原料 xampp-win32-1.8.2-1-VC9-installer.exe 101 MB wordpress-3.7.zip 或者wordpress-3.6.1-zh_CN.zip 方法/步骤 下载xampp-win32-1.8.2-1-VC9-installer.exe文件,大小为101 MB,百度网盘下载地址:http://pan.baidu.com/s/1Du4qB。下载完后,点击安装。出现选择安装路径的一个窗口,然后是解压文件。笔者的安装在D:\software\programingsoftware\xampp。然后,直接Next。 (图片展示了安装过程的弹出窗口的顺序) 安装过程中,会弹出一个xampp的主页,叫BitNami,上面有一个WordPress的位图,右侧就是WordPress的安装包。可以看到最新的安装包。进度条完成后,即解压步骤完成后,点击Finish。接着就会跳出一个XAMPP Control

Linux_lampp(xampp)

一个人想着一个人 提交于 2020-02-15 09:06:13
1 什么是lampp??? 网上搜了下大致是这样: lampp=xampp #改名称为xampp,是因为和lampp环境模块有冲突 XAMPP(Apache+MySQL+PHP+PERL))是一个功能强大的建站集成软件包    01 安装Apache yum install -y httpd   #yum命令安装 rpm -qa | grep httpd  #检查是否安装httpd /etc/init.d/httpd start  #启动httpd ps -ef | grep httpd #检查进程是否启动 service httpd start #这个也可以查看是否运行 /etc/init.d/httpd stop #停止httpd chkconfig httpd on #设置开机自启动 学到的小技巧 给路径取个名字-别名,下次直接执行别名,就可以,不行用别名直接unalias 别名 vim ~/.bash_profile #编辑 加入想要设置的变量:alias 变量名='执行路径',如,alias httpd_start='/etc/init.d/httpd start' 保存 source ~/.bash_profile #重载资源文件 执行httpd_start #等同于/etc/init.d/httpd start unalias httpd_start取消别名 注: