Questions tagged [xampp]
A package consisting of Apache, mySQL, PHP and Perl, available for multiple platforms meant for use by developers.
249
questions
24
votes
6
answers
95k
views
Connecting to MySQL from PHP is extremely slow
I just did a fresh install of XAMPP. When first opening PHPMyAdmin I noticed it was extremely slow. It didn't make sense that on localhost it should take almost 5 seconds for every page to open. I ...
23
votes
2
answers
71k
views
How should I use the <If> directive in .htaccess?
I'm trying to add a conditional statement using Apache's If directive in my .htaccess file.
I have referenced this page http://httpd.apache.org/docs/trunk/mod/core.html#if but it doesn't elaborate ...
19
votes
3
answers
9k
views
Run multiple servers on the same port
I would like to run a XAMPP server, and a Nodejs server on the port 80.
If the server get a HTTP request, then XAMPP will handle it, if the server get a Websocket request, then Nodejs
How is it ...
9
votes
4
answers
388k
views
How to access localhost by IP address? [closed]
I am trying to access localhost by my IP address. My IP address is/was 217.164.79.62 (It is set to be automatically assigned so it keeps changing).
When I visit http://localhost/, I get the XAMPP ...
8
votes
1
answer
30k
views
How can I enable mod_proxy_http
How can enable and load mod_proxy_http?
I have XAMPP, and I want to enable mod_proxy_http
I can see the module XAMPP/apache/modules/mod_proxy_http.so but I don't see any commanted module directives ...
7
votes
4
answers
9k
views
Apache configuration with virtual hosts and SSL on a local network
I'm trying to setup my local Apache configuration like so:
http://localhost/ should serve ~/
http://development.somedomain.co.nz/ should serve ~/sites/development.somedomain.co.nz/
https://...
7
votes
3
answers
174k
views
How do I allow remote access to mysql using xampp?
I'm using xampp and navicat to manage mysql on two dev machines (laptop & desktop). The laptop is my main machine, while the desktop acts as a local dev server for the group.
Connecting to mysql ...
6
votes
1
answer
16k
views
Access virtual host of another computer in same network
I made a PHP/MySQL app in my desktop that I access using Apache vhosts (XAMPP). In my host file I added 127.0.0.1 myapp so all I have to type in my browser is http://myapp. How can I access this same ...
5
votes
7
answers
98k
views
how to change port number of Apache server in windows OS
I have installed xampp control panel and Apache 2.2 on windows XP
when I type http://localhost/ gives me page which says It Works!
Now, I want to change the port number 80 to some other number
How ...
5
votes
5
answers
33k
views
How to copy & move MySQL database
I'm very new to servers and databases, my experience spanning only a few installations of XAMPP for easy website testing and exploration. So I have XAMPP installed on my laptop, and I just put it on ...
5
votes
3
answers
7k
views
Apache won't restart after inserting mod_wsgi [closed]
Python interested me as a web scripting language so I wanted to set it up on my testing server.
Cannot get Apache to restart with mod_wsgi. Running xampp v win32-1.8 w/apache v2.4, python v2.7 32bit,...
4
votes
2
answers
68k
views
Accessing localhost (xampp) from another computer over LAN network - how to? [closed]
I have just set up a wi-fi network at home. I have all my files on my desktop computer (192.168.1.56) and want to access localhost over there from another computer (192.168.1.2).
On my desktop I can ...
4
votes
1
answer
3k
views
PHP Apache XAMPP Run Multiple Scripts from CLI in Background
How can I simultaneously run dozens of PHP scripts in the background from XAMPP's command line interface?
Someone suggested a batch file, but when I tried executing this:
start php 1.php
start php 2....
3
votes
2
answers
165
views
Need to convert WinXP desktop into a WinXP-based server, suggestions? (more details inside) [closed]
My company's IT department would be better named the "computer purchasing and LAN cable maintenance department" because that's just about the limit of their abilities.
In my division we just had a ...
3
votes
2
answers
5k
views
Transfer database data from xampp on Windows to Ubuntu [closed]
Which is the fastest way to transfer mysql databases from xampp on Windows to a MySql server on Ubuntu?
3
votes
2
answers
6k
views
Symbolic Link & LAMPP htdocs
I went through these steps in order to make a symlink directory to use outside of lampp htdocs.
$ mkdir test
$ chmod 777 test
//test is now in /home/Dropbox/test/
//I put an index.html with 777 perms ...
3
votes
1
answer
4k
views
How do you install memcache
I need to install memcache on my dev server,
I am using Xampp on Windows
I have read a few sites that say you uncomment these lines in the php.ini file for xampp which I have done
extension=...
3
votes
1
answer
2k
views
Getting OTRS to work with XAMPP
Setting up a testing environment on a RHEL5 server to test out OTRS ticketing system. I installed XAMPP for the ease of use factor for testing but can't seem to get the ticketing system to start with ...
3
votes
1
answer
4k
views
how to make phpize run for xampp and not for other php instance
I have two instances of PHP in my Ubuntu. One is xampp (/opt/lampp/bin) and the other is in /etc/php5. I want to install pecl extension for xampp php but every command i make it works only for /etc/...
3
votes
2
answers
10k
views
XAMPP - Apache service stops running after few seconds
I have this big problem with my Xampp server, for some reason the Apache service stops running after a few seconds it as been started, and i have no idea what the problem is, and the error logs don't ...
3
votes
2
answers
16k
views
How to free port 80 for xampp to work [closed]
Please help,
I used to be running xampp and it was working perfectly.
Then I wanted to try something out and I ran IIS instead of xampp.
Now I want to go back to using xampp, but whenever I try to run ...
3
votes
3
answers
12k
views
Apache won't start, MySql and FileZilla does
I am using Windows7 and XAMPP 1.7.3(it's 32bit but says it works on 64). When I click on start Apache nothing happens but beneath it is written:
"Busy.... Apache Service started"
But the green ...
2
votes
3
answers
14k
views
Apache (XAMPP) cannot start - Port 80 Busy
I cannot start apache on xampp, it says Busy...
I have googled this many times and I have tried the following solutions:
Skype no longer uses port 80/443
Teamviewer no longer uses port 80/443
Adding ...
2
votes
2
answers
3k
views
How can I run a php script from the CLI without prepending "php" to it? [closed]
I'm trying to create a script that runs from the webserver that will run a php file via exec(), but I want it to do so without prepending the php to it. Can this be done?
Using Windows 2008 and XAMPP
2
votes
5
answers
30k
views
127.0.0.1 is working but localhost is not working on mac XAMPP
I installed XAMPP on my mac months ago and was working great.
Now i get "Test Page For Apache Installation" when i try to browse /localhost
and /localhost/xampp is not found.
But when i browse /...
2
votes
1
answer
6k
views
XAMPP deny access from specific external IP address
I need some help with securing my test XAMPP server as so far nothing I have tried seems to work.
I am running Apache 2.4.7 on Windows 7 machine.
The setup is the following:
I am redirecting all ...
2
votes
2
answers
20k
views
SSL error while using virtualhosts (apache + xampp) [closed]
I have multiple websites on my Windows Server 2003 vps, running apache2 via xampp. I am using openssl.
When I only had SSL enabled on the 1 site (I have 2 active), everything worked fine - but now I ...
2
votes
3
answers
28k
views
How to disable port 443
I have installed Apache 2.x.x. But right now I have uninstalled it from my pc. I try to install XAMPP, but the apache could not installed correctly.
Error:
Could not bind to address 0.0.0.0:443
2
votes
2
answers
2k
views
Apache vhosts - How do I route many sites one way, but route dev site differently?
127.0.0.1 developmentsite.com
127.0.0.1 blockeddomain1.com
127.0.0.1 blockeddomain2.com
I would like to block the last 2 domains (and a bunch of others). For this I have added the following vhost ...
2
votes
1
answer
581
views
Trouble with mod_rewrite and PHP Extensions - Help Making the Correct .htaccess File
I'm looking for a set of simple rules and redirects for my site. I've tried so many combinations that I'm starting to get confused.
I'm not sure how to set this up. Generally, without mod-rewrite, ...
2
votes
1
answer
2k
views
Running WAMP (XAMPP) and LAMP from One SSD, On 64-bit Windows and Linux Machines [duplicate]
I have an solid state drive that I develop websites on. The reason I do this is because I work on a few different computers. Historically, I created separate developing environments to use for each ...
2
votes
1
answer
2k
views
Using separate php.ini files per vhost in Xampp
My web host provides separate php.ini files per web root, which is quite useful as I host some websites which require different PHP settings.
But on my dev system where I use Xampp, I can only find a ...
2
votes
2
answers
12k
views
How can I start xampp and stop IIS on port no 80 in Windows Vista?
I have installed xampp server on Window Vista. The default port no 80 is running for IIS. I need to stop IIS Service and start the Xampp sevice for port no 80.
Currently I am running my xampp server ...
2
votes
2
answers
986
views
MariaDB on Windows 11 Pro fails due to privilege tables' file problems
About 5-6 days after each fresh installation of (the newest) XAMPP 8.2.4 on Windows 11 Pro (10.0.22621 Build 22621), MariaDB 10.4.28 on-board it starts to fail during every run:
Sometimes I am getting ...
2
votes
1
answer
12k
views
Xampp, mysql crashes each time I start it
When I try to start mysql, it shuts down:
Error: MySQL shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
...
2
votes
1
answer
3k
views
XAMPP MySQL batch file [closed]
I am using XAMPP to run Apache, PHP and MySQL on a bunch of remote laptops for our clients. It is just the XAMPP directory with all the files (thumbdrive version, no registry values are added or ...
2
votes
1
answer
2k
views
Install PECL mailparse on XAMPP?
Similar to Is it possible to install Mailparse extension via PECL installation - without recompiling PHP I'm trying to install mailparse on xampp. XAMPP actually has a guide for this, and I've tried ...
2
votes
2
answers
10k
views
What are the benefits of installing XAMPP vs [LAMP from repository] on Ubuntu Linux?
For dev purposes, is it better to install XAMPP or Apache MySQL & PHP from the repository?
2
votes
1
answer
998
views
Installing XAMPP on Mac OS X as a daemon ( service ) [closed]
Until now, I've been running Xampp by having a script with xampp start run as a login item.
Is there a better way to make Xampp ( Apache & MySQL ) run as daemons?
2
votes
3
answers
1k
views
Multiple SSL Certificates Running on Mac OS X 10.6
I have been running into walls with this for a while, so I posted at stackoverflow, and I was pointed over here...
I am attempting to setup multiple IP addresses on Snow Leopard so that I can develop ...
2
votes
1
answer
2k
views
How do I enable W3C extended logging on Apache (LAMP or XAMPP)?
How can I enable W3C extended log format on LAMP and where will the default log directory be located (and named what)? (or XAMPP)
2
votes
1
answer
576
views
XAMPP mysql (Mariadb) has become unreliable
I have used XAMPP for years in Windows without any problems, but lately, it has become unreliable due to mysql (MariaDB). In XAMPP Control Panel mysql sometimes starts alright, sometimes it will crash ...
2
votes
2
answers
802
views
Deny access to "bat" files in Apache
I want to deny direct access to some sensitive files in my root application (e.g: log,sh, ini ...etc).
and for this reasons I have used the following directive in my main .htaccess:
<FilesMatch "\...
2
votes
1
answer
985
views
.htaccess redirect URL of existing folder
The software I am working on uses ugly urls. To make it easier for users to share projects (it is a project administration package) I want to have a redirect. It should redirect projectadmin.dev/...
2
votes
0
answers
4k
views
VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command [closed]
I keep getting the following error in my PHP error text for Xampp on Windows 10. Using WordPress as the CMS.
Feeling like I have tried everything but hoping there is at least one person here that ...
2
votes
3
answers
5k
views
Jenkins won't start
I'm using:
Jenkins 1.541.
Java JDK 7u45 (tried 64 and 32 bit versions).
XAMPP 1.8.2
I have downloaded the default MSI installation from http://mirrors.jenkins-ci.org/windows/latest, and I have ...
2
votes
0
answers
3k
views
How to set specific environment variables for Apache service run on Windows
I'm facing a problem. I use xampp 1.7.7 on Windows which installs a Apache service. I find that I have to some tweak to have all PHP modules load properly.
For example, php_ldap.dll cannot be loaded.
...
2
votes
1
answer
2k
views
What is "php exited with error code 1"?
I'm running a php script through the webserver to execute psexec which in turns executes another php script.
When I run this from the command line normally, everything works fine and there are no ...
2
votes
2
answers
195
views
setting up xammp (for windows) local web servers
I have checked several tutorials on the web and answers here, none seem to be working for me. I am unable to set up my local web server so my projects are available via name other than http://...
2
votes
1
answer
1k
views
How do I get a subdomain on Xampp Apache @ localhost?
****UPDATE-
I got it working now, I just had to change
to
The port number is important here.**
I just modified my windows HOST file
@ C:\Windows\System32\drivers\etc
and added this to the end of ...