Questions tagged [xampp]
XAMPP a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.
399
questions
62
votes
7
answers
90k
views
How do I rename a file to .htaccess in Windows 7?
I'm using XAMPP to test a PHP script. Now, in the root of the folder I want to place a .htaccess file according to the requirements of the script.
But Windows won't let me rename it to .htaccess. Is ...
19
votes
5
answers
77k
views
Getting XAMPP to work with multiple version of PHP
How can I install XAMPP to work with different versions of PHP?
I use XAMPP because some of the scripts are buggy when run in WAMP. I use WAMP because it supports different versions of PHP.
But now ...
18
votes
8
answers
143k
views
When I start Ubuntu it enters tty[1-6] instead of my desktop (How do I get to desktop?)
When I start Ubuntu it enters tty[1-6] instead of my desktop. Normally I could get back to the desktop by pressing Ctrl+Alt+F7 but that doesn't work.
I tried sudo apt-get install ubuntu-desktop but ...
12
votes
3
answers
108k
views
How do I connect via FTP to XAMPP?
Can I use WinSCP to connect to xampp? How does this work?
10
votes
4
answers
53k
views
VM running CentOS, can ping but can't access web server
I've been trying to set up a CentOS server for the first time (ever setting up a Linux server). The installation went fine, I installed LAMPP (and the required dependencies for x86), used the lampp ...
10
votes
1
answer
40k
views
How to make xampp secure
I'm planning on using xampp standlone (prototyping development in PHP). However, I've heard a great deal about the security issues with xampp.
By default, everything is supposedly opened and ready ...
9
votes
4
answers
83k
views
How can I upgrade the MySQL version included in XAMPP?
I Want to upgrade xampp mysql from 5.1 to 5.6.10
I installed mysql server to mysql path in xampp path
but didn't work for me .
do you have any idea or any way to upgrade mysql in xampp ?
Best Regards
...
8
votes
3
answers
9k
views
Mac OS X - fire up Apache/Mysql without prompting for password
I am running XAMPP which comes with a little "XAMPP Control" app that lets me start and stop Apache and MySQL by clicking a button. When I do that, I'm prompted by Lion for my admin password. Is there ...
8
votes
2
answers
46k
views
XAMPP is not accessible from other computer through LAN, when Firewall is enabled?
I'm using xampp 1.7.7 in my Windows 7 and I can't access PHP application hosted in my PC through LAN in any other computer.
But if I disable Firewall then every thing goes fine; But I dont want to ...
7
votes
6
answers
20k
views
Hosting online with xampp?
I'm not quite sure what I'm doing wrong, because from what I've read, this should all be working.
What I've done:
Forwarded ports 80, 8080, and 443.
Changed the ServerName localhost:80 line in \...
6
votes
4
answers
75k
views
Can't create any folder in htdocs on ubuntu
How do I set the permission, so I can? The "Create new folder" option is grayed out.
I tried this:
sudo chmod -rw /opt/lampp/htdocs
But it still doesn't work. When I add:
sudo chmod -rw 755 ...
6
votes
2
answers
118k
views
http://localhost:8080 is not working on running apacher Server through XAMPP
I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP.
In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working.
...
6
votes
3
answers
16k
views
Is there a way to do WiFi tethering on my Android and do port forwarding for my PC from the Android device?
Is there a way to do WiFi tethering on my Android and do port forwarding for my PC from the Android device?
What I mean is:
Internet --> Android
Android has the port forwarding to PC (XAMPP)
PC ...
5
votes
2
answers
25k
views
Apache version in XAMPP
I'm trying to figure out which version of Apache is on the latests XAMPP builds ( 1.8.2-5 and 1.8.3-4 ).
I've checked the XAMPP website, tried googling the question and browsed through the folders ...
5
votes
2
answers
46k
views
Change xampp apache htdocs directory to access localhost from ubuntu and windows
I'm using ubuntu and windows 7 dualboot,and have xampp installed on both I want to have access to one localhost directory whether I'm using windows or ubuntu. both systems are installed on the same ...
5
votes
1
answer
15k
views
XAMPP Mac: "Unable to create directory" error
I just installed XAMPP on Mac OSX.
When I tried to install a theme into a newly created WordPress site, I got this error:
Unable to create directory /Applications/XAMPP/xamppfiles/htdocs/wordpress/...
4
votes
3
answers
35k
views
XAMPP won't start Apache on Mac OS X 10.10.3 Yosemite
I had a local XAMPP stack running on my Macbook Pro fine for weeks (OS X Yosemite 10.10.3, XAMPP 5.5.24). Then, I spent some time trying to install a library, in which I somehow messed up the ...
4
votes
2
answers
840
views
Is there any reason NOT to use XAMPP (or a similar server package)?
Until just a few weeks ago I always used to set up my home-servers one service at a time (e.g. httpd, ProFTPD, etc.). I have now begun using XAMPP instead and was wondering if there is any reason why ...
4
votes
2
answers
39k
views
Configuring Aptana 3 to work with PHP & XAMPP
I have installed XAMPP and aptana.
But when I run my php file it shows me a text format of it.
(I've started XAMPP in the background)
What did I do wrong?
Edit:
Now I think I found the problem, ...
4
votes
1
answer
40k
views
php is not recognized as an internal or external command (windows 7)
I added php to the PATH environment var. Showing here my last three entries in the path input:
C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;C:\xampp\php\
Somehow when I run php -...
4
votes
3
answers
40k
views
Config xampp never to cache pages from localhost
I am not a webmaster, and that was exactly the reason why I installed XAMPP 1.7.2 on Windows XP SP2 instead of manually configuring Apache, MySQL and PHP to cooperate each other.
Now I am having to ...
4
votes
1
answer
11k
views
MySQL doesn't start
I've installed Portable Xampp on my flashdrive.
Here is what I'm getting when I try to start MySQL on portable XAMPP server. (Apache starts without any fail)
And log looks like that
121003 22:07:...
4
votes
2
answers
12k
views
Can't start mysql (xampp) after installing on external drive
I decided to move my XAMPP installation to external drive. It's USB3 3TB Seagate drive. Unfortunately mysql doesn't want to start. All works fine if I install XAMPP to C drive but doesn't work when I ...
4
votes
4
answers
7k
views
How to get Apache to work if System is using Port 80?
I've spent hours researching and trying all kinds of things to get Apache running as part of Xampp, but nothing is working.
I've turned off Skype
Changed values in the registry
Uninstalled IIS and ...
4
votes
1
answer
5k
views
Avast detects PHP built in web server as a virus
I'm using Avast free version, Windows 10 64 bit and XAMPP. Every time I run PHP built in web server, Avast detects it as a virus
php -S localhost:8000 file.php
I added the files as exception, that ...
4
votes
1
answer
921
views
XAMPP is reading OS's htdocs instead of my USB drive's
I recently got XAMPP Lite for my USB drive on Windows 7. Everything runs fine from my USB drive, except when run it in browser. Instead, XAMPP Lite on my USB drive reads the htdocs from XAMPP on my ...
4
votes
1
answer
552
views
Use single settings file for dual-boot XAMPP installs
Similar to other setup questions, but slightly more complicated.
With two 500GB drives, please help determine the best setup for web development:
RAID 1 for mirroring
Partitions:
Windows 7
Linux (...
3
votes
3
answers
10k
views
#126 - Incorrect key file for table '.\mysql\db.MYI'; try to repair it
I posted my question on serverfault but they hold my question by advising to post it in SuperUser
I installed Xampp and can see localhost page as well as both apache and mySQL is starting fine but ...
3
votes
3
answers
2k
views
I accidentally hijacked my localhost
Opening localhost in the browser is pointing a local webpage (examplePage) after playing with some config files a while back, and I can't figure out how to restore the default behavior.
Background:
...
3
votes
5
answers
64k
views
Using XAMPP, Error 403 Access Forbidden
Update (FOUND A WORKING SOLUTION):
http://maff.ailoo.net/2008/07/set-up-multiple-virtual-hosts-on-xampp-for-windows/
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot D:/srv/...
3
votes
4
answers
38k
views
Make XAMPP program directory writeable?
I'd like to be able to write to the XAMPP directory so that I can run PHP scripts from there rather than my "Sites" user folder.
How can I do that? I'm using 1.7.3.
Currently, if I try to write (...
3
votes
3
answers
10k
views
Add TomCat to XAMPP installation
Months ago I've instelled XAMPP to my windows 10 computer with only:
Apache
MySQL
but now, I need install TOMCAT.
Actually I have 3 projects on my htdocs froder, what would be the best way to add ...
3
votes
1
answer
752
views
Run Linux server from virtual box seamlessly
My LAMPP server runs on a debian linux OS which is hosted on Oracle Virtual Box. To start the lampp server on mwindows XP PC, I have to:
Open Virtual Box
Start Debian Linux
Open Linux Terminal
Run ...
3
votes
1
answer
1k
views
How well will XAMPP transfer to Windows 8
I'm in the middle of setting up XAMPP on my Windows 7 machine and I am wondering if it's worth my time doing it now if I plan on upgrading to Windows 8 Pro later this week.
Should I expect any issues ...
3
votes
1
answer
3k
views
Firewall blocks localhost but only if it's turned on
I run XAMPP server on my Windows XP. If I try to access to http://localhost or http://127.0.0.1 it gives me this error:
Could not connect to remote server
This only occurs if my Comodo firewall is ...
3
votes
5
answers
16k
views
XAMPP Apache Server on Windows 7 not working
I recently installed XAMPP on my laptop. It installed correctly but the Apache web server won't start - it's a problem with port 80.
It's not caused by Skype, because I don't have it installed. I ...
3
votes
3
answers
8k
views
XAMPP and WAMPserver
I have been using Wamp with Windows 7 and when I recently upgraded to Windows 8 I have been unable to connect to the localhost. Uninstalling and reinstalling does not work. I also tried to install ...
3
votes
0
answers
7k
views
Install XAMPP from command line on Windows
I am trying to install XAMPP programmatically on Windows machines and I need to change the folder where the installer puts the files. I can barely find any documentation on the installer, except for ...
3
votes
2
answers
9k
views
Can't get HTTP connection to Amazon Web Services EC2 Windows Server 2012 Instance
I have an Amazon Web Services EC2 instance with a Windows Server 2012 AMI on it. I have installed XAMPP on it, and have started the apache server from the XAMPP Control Panel. It starts successfully.
...
3
votes
2
answers
12k
views
Connect MySQL Workbench with XAMPP MySQL?
I spent two days trying to figure this one out. Basically I couldn't connect to the localhost MySQL database installed by XAMPP 1.7.4 using MySQL Workbench. I got a socket connection error (1061) or ...
2
votes
2
answers
788
views
Can someone access my locally run website even if I haven't specified any port forwarding?
I am using Xampp so I can test my web application directly on my own computer. I am concerned that someone can access my Xampp site since I am still connected to the internet. However, I have NOT ...
2
votes
4
answers
12k
views
How to create a local web host domain name for free
I have installed XAMPP, and my projects are saved in htdocs folder. When I view it in browser the URL identifies as http://localhost/example/index.php
How can I access it using a domain name of my ...
2
votes
1
answer
8k
views
Chrome keeps redirecting to old port
I was using XAMPP on port 100 for local development. I changed port back to 80 but Chrome won't let me use new urls.
Previously: localhost:100/mywebsite
Now when I open localhost/mywebsite it keeps ...
2
votes
1
answer
3k
views
Take local XAMPP online
Current scenario:
I am running windows 7 behind a router and have installed XAMPP. Multiple computers connect to this internet connection.
I have port forwarded the ports 80,8080 and 443 on the ...
2
votes
4
answers
1k
views
Windows 7 Permissions
I have an odd problem with a windows 7 laptop. It's a single user installation currently. This is a fresh install on an Asus laptop.
I have a svn repo checked out on my second partition. I have ...
2
votes
4
answers
20k
views
Why does PHP throw "Segmentation fault (11)" after "mysql_connect", or upon "mysql_close"?
I have Ubuntu-9.04 and am using XAMPP-1.7.2 to develop a web application. The problem is that when I try to view a PHP file I wrote by visiting localhost/folder/file.php, Firefox offers me to download ...
2
votes
1
answer
13k
views
External IP redirects to router page [duplicate]
I'm having a small problem here.
I'm running wampserver and I'm trying to access it externally so I could use it as a webserver for others to view my projects using my external IP
I forwarded the ...
2
votes
1
answer
6k
views
How to debug PHP code in Visual Studio Code in the services of XAMPP?
First, I turned on XAMPP and started the following services:
By the way, the PHP Version is 7.3.3. Then I checked phpinfo() in the browser. Here is a screenshot:
And I went xdebug.org to download ...
2
votes
1
answer
6k
views
How to connect to MySQL running on XAMPP through WSL terminal
MySQL is running on XAMPP and working fine. I am trying to connect to it through the Windows Subsystem for Linux running a Flask app using flask-msqldb.
But when I run the Flask app and try to make a ...
2
votes
1
answer
957
views
Microsoft Edge refuses to load the XAMPP sample site
I downloaded and set up XAMPP 7.0.1, and configured it to run on port 8080 via the config file.
If I now go into Chrome, and visit localhost:8080, it loads as expected:
Doing the same in Edge ...