xampp

how to configuring a xampp web server for different root directory

丶灬走出姿态 提交于 2019-11-27 17:19:58
The web directory is the home of all of your application's public and static files. Including images, stylesheets and JavaScript files. It is also where the front controllers live. So the question is when i install and set up xampp my web directory is: xampp\htdocs and I want to set it up for: xampp\htdocs\myproject\web How to do it? Now when I type in my browser the address: http://localhost/ I enter xampp\htdocs directory and I want to type in my browser the address: http://localhost/ and enter xampp\htdocs\myproject\web directory blckwngd You can change Apaches httpd.conf by clicking (in

Certificate does NOT include an ID which matches the server name [closed]

落花浮王杯 提交于 2019-11-27 17:04:09
问题 I'm using XAMPP and started Apache but I cannot access my site over HTTPS. I get the following error; [Wed Aug 20 08:05:33.208723 2014] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Wed Aug 20 08:05:33.746774 2014] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Wed Aug 20 08:05:33.825871 2014] [mpm

MySQL

左心房为你撑大大i 提交于 2019-11-27 16:51:11
1、MySQL数据库现况 Oracle分支: MySQL Martin分支: MariaDB 说明:MySQL数据库被Oracle收购后,更新慢,关注少,MySQL的开发者Martin又开发了MariaDB,底层有所不同,使用完全相同 *xampp:一个服务器的套装,包含多款开源的服务器,如MySQL、PHP 2、MySQL部署结构 服务器端软件:负责存储/维护数据 mysql\bin\mysqld.exe: 服务器启动文件 mysql\data:data下每一个文件夹就是一个数据库,存储数据文件 客户端软件:负责向服务器发起增删改查的命令 mysql\bin\mysql.exe:客户端软件,用来连接MySQL服务器 3、数据库指令: MAC下: 启动服务:mysql.server start 停止服务:mysql.server stop 进入数据库:mysql -uroot -p或者(mysql -hlocalhost -P3306 -uroot -p) 退出数据库:quit 查看数据库:show databases; 进入数据库:use 数据库名; 新建数据库: drop database if exists 数据库名 create database 库名 default charset utf8 删除数据库:drop database 库名 4、表的操作: 查看数据表

MySQL Database won't start in XAMPP Manager-osx

房东的猫 提交于 2019-11-27 16:41:32
I downloaded XAMPP about a month ago and it was working just fine. Today I installed a voice recognition software and then restarted my computer. Ever since, MySQL won't start in my manager-osx application. It doesn't throw me an in the application log. This is what it says: Stopping all servers... Stopping Apache Web Server... /Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped Stopping ProFTPD... Checking syntax of configuration file /Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd stopped Restarting all servers... Starting MySQL Database... Starting Apache

Custom 404 error issues with Apache - the ErrorDocument is 404 as well

为君一笑 提交于 2019-11-27 13:56:43
I am trying to create a custom 404 error for my website. I am testing this out using XAMPP on Windows. My directory structure is as follows: error\404page.html index.php .htaccess The content of my .htaccess file is: ErrorDocument 404 error\404page.html This produces the following result: However this is not working - is it something to do with the way the slashes are or how I should be referencing the error document? site site documents reside in a in a sub folder of the web root if that makes any difference to how I should reference? Thank you in advanced. When I change the file to be

host localhost is not allowed to connect to this MySQL server [closed]

社会主义新天地 提交于 2019-11-27 13:50:06
问题 I've accidentally deleted my users table (removed all users) now whenever I try to access my database it says: "host localhost is not allowed to connect to this MYSQL Server". I've tried connecting directly, same error. I'm using apache xampp for this. 回答1: A very commonly asked question, try doing this (And it worked for me), goto your mysql folder and there will be a file called " my.ini ". Simply add this under the mysqld tag skip-grant-tables . Save the file, restart your server. If the

Xampp Warning: Module 'openssl' already loaded in line 0

喜夏-厌秋 提交于 2019-11-27 13:29:08
问题 I have installed Xampp on windows 7. When I try to run code I get the error Warning: Module 'openssl' already loaded in line 0 This is the same code I have run on the pc before, all I have done is reinstalled Win 7 and a clean install of XAMPP 回答1: You seem to have the line extension=php_openssl.dll twice in your php.ini file and/or subfiles. You need to find all relevant php.ini files in your xampp directory and remove or comment out one of the module directives like this: ;extension=php

Running Python scripts with Xampp

余生长醉 提交于 2019-11-27 12:56:39
I'm using python 2.7.13 At first the browser was showing the raw code. what I did: Edited httpd.conf AddHandler cgi-script .cgi .pl .asp .py At the top of all my scripts I added this: #!j:/Installeds/Python/python print "Content-type: text/html\n\n" Now it's giving me Internal Server Error (500) and I have no idea what else to try... First time with python. Obs: I think this may help> Apache>Error.log [cgi:error] [pid 6364:tid 1620] (9)Bad file descriptor: [client ::1:51083] AH01222: don't know how to spawn child process: C:/Files and Installs/Xampp/htdocs/Test/main.py AH02102: C:/Files and

XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:

隐身守侯 提交于 2019-11-27 12:50:18
This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims port 80 is busy....WHAT DOES THAT EVEN MEAN? So I tried just uninstalling and moving to EasyPHP instead and when I installed that I get the error "error in Apache configuration file: the system cannot execute the specified program" No, I do not have Skype or any other programs really for that matter at this point, like I said I JUST REFORMATTED so idk whats going on. I would love to get this fixed, but if you leave me a answer

Xampp里Mysql服务启动不起来,错误1067

别来无恙 提交于 2019-11-27 11:48:51
在XAMPP里MYSQL以服务方式启动失败,提示错误是 1067 进程意外终止 解决方法: 1、 进入 xampp安装目录 2、进入mysql/bin/目录, 打开my.ini , 修改 [mysqld] port= 3306 socket= "/xampp/mysql/mysql.sock" basedir="/xampp/mysql" tmpdir="/xampp/tmp" datadir="/xampp/mysql/data" 把路径补全,比如xampp安装在d盘根目录,那么修改为 [mysqld] port= 3306 socket= "d:/xampp/mysql/mysql.sock" basedir="d:/xampp/mysql" tmpdir="d:/xampp/tmp" datadir="d:/xampp/mysql/data" 3、 重启mysql,搞定 来源: oschina 链接: https://my.oschina.net/u/727370/blog/138601