xampp

How to install nodejs on Xampp localhost

前提是你 提交于 2019-11-28 17:24:09
问题 Been seeing a lot of how to's on how to install nodejs but nothing is at all clear. So I ask... Can someone provide a step by step installation guide for installing and using nodejs on a xampp server? 回答1: After searching (source), I have found, that it's easier to install Node.js directly (so, need of XAMP/WAMP): 1) Install http://nodejs.org/download/ 2) Create a test file (example) C:\myFolder\test.js and put this code in that file: var http = require('http'); http.createServer(function

How do I use MySQL through XAMPP?

假装没事ソ 提交于 2019-11-28 17:15:13
I installed XAMPP v3.2.1 because I wanted to learn how to create database in MySQL and learn more about TOMCAT. However, I am a little confused about what to do now. I have read many blogs and the documentation on this page http://dev.mysql.com/doc/refman/5.0/en/creating-database.html . While following the directions I found that: I can't access my local host. Attempted Solution: I shut down skype because I read that might be an issue. I don't have any older versions of XAMPP on my computer and I don't believe I am connected to any other servers. So, I don't have permission to do anything. OR

I get Access Forbidden (Error 403) when setting up new alias

走远了吗. 提交于 2019-11-28 17:12:05
I'm running windows 7 and recently installed XAMPP to build a dev environment. I'm not great with the server side of things so I'm having some problems setting up an alias for a project. So far XAMPP is running and if I go to localhost I get the XAMPP welcome page. I created an "alias" folder in my "conf" folder of my apache install. In there I added dev.conf with the following content: <Directory "C:\Users\my_user\My%20Documents\Aptana%20Studio%203%20Workspace\project"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from 127.0.0.1 </Directory> Alias

how to get login option for phpmyadmin in xampp

北战南征 提交于 2019-11-28 17:06:14
when i open localhost/phpmyadmin/ in xampp it opens directly the home page with root as user but not a login page. My page looks same as in here in this link how can I get a login page, what are the setting I should do to get a login page Can you set the password to the phpmyadmin here http://localhost/security/index.php Step 1: Locate phpMyAdmin installation path. Step 2: Open phpMyAdmin/config.inc.php in your favourite text editor. Copy config.sample.inc.php to config.inc.php if it's missing. Step 3: Search for $cfg['Servers'][$i]['auth_type'] = 'config'; Replace it with $cfg['Servers'][$i][

httpd-xampp.conf: How to allow access to an external IP besides localhost?

删除回忆录丶 提交于 2019-11-28 17:04:45
I haven't found the right answer that works for me in other questions. This is how the httpd-xampp.conf looks like originally: # # New XAMPP security concept # <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch> What should I do if I want to add another IP address besides the Require local ? For example, below Require local I have tried the following: allow from xxx.xxx.xxx.xx That is to say: # # New XAMPP security concept # <LocationMatch "^/(?i:(?:xampp|security

XAMPP + phpEclipse 调试php

和自甴很熟 提交于 2019-11-28 16:42:21
*前言 今天项目用到以前项目既存的php API ,为了调查以前项目的相关内容只有从头学习php了,可是光看代码很难理解啊,所以找个debug php的方法呗。网上找了相关的资料好多都是老早以前的了,而且含糊不清啊。在此把这个简单的php调试方法:XAMPP + phpEclipse的Xdebug方法记录下来。 *环境 〇Windows7 〇XAMPP Windows版 1.8.1 下载地址:http://www.apachefriends.org/zh_cn/xampp-windows.html#1787 〇phpEclipse Version: 3.0.2 下载地址:http://www.zend.com/en/community/pdt/downloads *安装 1,XAMPP的安装 在下载页面有:http://www.apachefriends.org/zh_cn/xampp-windows.html#1787 安装完成后请确认是否能启动apache。 2,phpEclipse下载后直接解压就可 *设定 1,在XAMPP中已经包含了Xdebug,所以只要稍微设置即可。 〇php.ini的修改:在文件的最后将以下内容【;】删除 ;zend_extension = "C:\xampp\php\ext\php_xdebug.dll"   ↓   zend_extension =

Hosting multiple local sites with XAMPP

心已入冬 提交于 2019-11-28 16:29:54
问题 I'm new to using XAMPP so this may be simple to some people. I have a few php projects that I would like to be able to debug locally and view in the browser (not concurrently, but without having to change config files/copy project folders each time I want to work on a different project). On IIS, you could set up multiple sites to serve from your machine, and I'm looking for something similar in XAMPP. When using IIS, I added multiple records to the Windows hosts file so I could access the

XAMPP / WAMP / whatever it is: Apache is running super slow [closed]

老子叫甜甜 提交于 2019-11-28 15:32:34
I've got my Windows PC (localhost) running XAMPP. It loads the pages sometimes really quick or sometimes really slow. So, I figured and searched and was recommended to get WAMP. I got that and installed it. Still, the pages load so damn slowly. No heavy CPU load or anything, all my ports are open too. Any ideas? naitan Here's a solution that really worked for me . One thing to try is changing the following two entries in apache/conf/httpd.conf from OFF to ON : EnableMMAP on EnableSendfile on Also, enable and set realpath_cache_size= 4m to your php.ini file. If your are using InnoDB database

How do you use MySQL's source command to import large files in windows

回眸只為那壹抹淺笑 提交于 2019-11-28 15:28:23
I have a large (~150mb) sql file that I am trying to import. It is too large to do it through PHPMyAdmin even splitting it into many pieces and it is too large to import through a php script as it times out after 30 seconds of processing the script. So I'm looking for how to directly import the file from MySQL command line. Searching online shows that I want to either use database_name < file_name.sql or source file_name.sql but I can't get either of these to work. Using < gives the generic MySQL syntax error while using source give a slightly more promising failed to open file 'file_name.sql'

InnoDB: Attempted to open a previously opened tablespace

依然范特西╮ 提交于 2019-11-28 15:07:46
问题 I have been working on a problem for a few days now. Our local mediawiki page that sits on our box account, destroyed itself and we've been working to get it online. Using XAMPP Control Panel v3.2.1, the errors were numerous so we decided to update XAMPP (v3.2.2) and move the 'htdocs' and 'mysql/data' files over to the new data base. First error: 9:50:21 AM [mysql] Attempting to start MySQL app... 9:50:22 AM [mysql] Status change detected: running 9:50:22 AM [mysql] Status change detected: