15
votes
VM running CentOS, can ping but can't access web server
I also had this issue. From your description I was running the same set up as you. It turned out I had firewalld installed and was running and so had to use the commands:
sudo firewall-cmd --...
12
votes
Accepted
Apache version in XAMPP
Run in command line
<xampp_dir>\apache\bin\httpd -v
It prints Apache version.
For example I had installed XAMPP to C:\Aplikace\xampp directory and type into Command Line
C:\Aplikace\xampp\...
9
votes
Accepted
XAMPP won't start Apache on Mac OS X 10.10.3 Yosemite
After months of trying, I finally got it working. I found the solution here: disable OSX's built-in Apache server.
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
8
votes
Change xampp apache htdocs directory to access localhost from ubuntu and windows
This is an old question but I haven't seen it properly answered yet. Here is what you need to do:
Install XAMPP in Windows and LAMPP in Ubuntu
Boot into Ubuntu and record your Windows htdocs folder (...
5
votes
#126 - Incorrect key file for table '.\mysql\db.MYI'; try to repair it
Exactly the same happened to me, I tried the following query and it worked:
USE mysql;
CHECK TABLE db;
If it returns db is corrupt, then repair it using
REPAIR TABLE db;
CHECK TABLE db;
You should ...
5
votes
How to make xampp secure
Indeed the default settings on XAMPP provide no security at all. However, to fix these insecurities you enlisted go to http://localhost/security/xamppsecurity.php immediately after installation on ...
4
votes
Chrome keeps redirecting to old port
The answer is posted here: How can I make Chrome stop caching redirects?
I had the same issue while I was developing a new website locally by using Docker. I had to test some redirections on a ...
4
votes
Accepted
Use adminer in windows with xampp
Is there any .exe file for Windows?
Yes. Download the XAMPP installer from Apache Friends.
How do I setup Adminer with XAMPP in Windows 10?
Install XAMMP (above).
Download the Adminer .php file
...
4
votes
Accepted
What's the difference between apache "options" directive code that append values with "+" sign & the values without "+" sign? Example code is in body
From https://docstore.mik.ua/orelly/linux/apache/ch03_11.htm :
The arguments can be preceded by "+" or "-", in which case they are added or removed. The following command, for ...
4
votes
Accepted
What is the format 6-0-VS16-installer for?
The CDN serving the file is misconfigured. Instead of the usual application/octet-stream MIME type (which is basically a catch-all value for anything lacking a more specific type), it is served with ...
3
votes
XAMPP installation: mailoutput folder: info & docs about PHPMailer sought
I don't think it has anything to do with PHPMailer. It might be because newer XAMPP comes with several options for mailing:
using a regular SMTP server (what you're looking for)
using "fakemail&...
3
votes
XAMPP won't start Apache on Mac OS X 10.10.3 Yosemite
You should check for other processes bound on a TCP socket to port 80.
netstat -atp tcp | grep -i "listen"
Achive Internet connections (including servers)
Proto Recv-Q Send-Q Local Address ...
3
votes
command not found - error installing xampp on linux
There are two problems here (one that isn't so obvious).
First (the tricky one), the XAMPP installer xampp-linux-*-installer.run file is not by default executable; you can see this by running
$ ls -...
2
votes
Accepted
XAMPP Server is not Starting in Port 80
When the error log is empty you could try and start XAMPP/Apache from a command line/console window.
In your case there is a Syntax error on line 51. Open the file C:/xampp/apache/conf/extra/httpd-...
2
votes
Accepted
Microsoft Edge refuses to load the XAMPP sample site
As discussed in the comments, I've found that IE occasionally will treat a TLD-less domain like localhost as a non-HTTP request like this. Typing explicitly http://localhost:8080 is annoying but will ...
2
votes
Unable to execute PHP code on Windows 10 through xampp
Xampp is a software package that allows you to host a webserver on your computer.
In order to work with this, you will need to start the webserver, and point your browser to your ip address followed ...
2
votes
Accepted
Host website from portable drive connected to router
As said in the comments, your router alone does run a webserver (configuration tools) however it probably won't take to running your PHP, etc. from XAMPP.
Spend $50 and get a Raspberry Pi with a case,...
2
votes
Accepted
Apache Path environment variable
The mod_env Apache module gives you the PassEnv and SetEnv directives that enables you to set up the environment per your needs.
2
votes
Accepted
XAMPP why need to change application permission of application folder?
Its worth understanding what this does (and why its a terrible idea).
chmod -R 777 gives Read + Write + Execute permissions to any account. While it works, its roughly the equivalent of leaving your ...
2
votes
When I start Ubuntu it enters tty[1-6] instead of my desktop (How do I get to desktop?)
My solution has been to edit the file /etc/lxdm/default.conf
and set the server section this way
[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1
2
votes
Accepted
Install XAMPP in Kali normal user
sudo *command here*
This will run the installation as 'super user' from a normal account.
If you are having issues understanding procedures such as this, then I recommend starting with an easier ...
2
votes
Accepted
How to connect to MySQL running on XAMPP through WSL terminal
Okay just did some digging around and found this helped:
Instead of 'localhost' use the IP address instead Eg:app.config['MYSQL_HOST'] = '127.0.0.1' apparently, clients have some internal aliasing ...
2
votes
Avast detects PHP built in web server as a virus
Avast team solved the issue, it wasn't related to XAMPP, it was related I believe to the behavior of the browsers, that's my understanding of what say said in their email.
Maybe if you opened ...
2
votes
How to debug PHP code in Visual Studio Code in the services of XAMPP?
You dont need to open 9000 port, you just run debug like:
then
choose PHP
start and play green icon
add break point into your methods or controllers
manage your breakpoints
2
votes
Accepted
Is it fine if I would use ini_set("memory_limit",-1); in my php file
Do not increase PHP memory_limit unless you really have to and only do it in the code section or file that needs that limit.
In general this all depends on your code and PHP scripts are not memory ...
2
votes
Add TomCat to XAMPP installation
If you are worried about your PHP folder, you can:
Stop Apache.
Navigate to your XAMPP installation folder.
Copy the php folder in place (so you get another folder called e.g. php - Copy.
Install ...
2
votes
Add TomCat to XAMPP installation
You can install Tomcat separately from XAMPP.
Just remember that Tomcat needs a prior installation of Java.
After the installation of Tomcat, modify its file server.xml
(located in folder ...
2
votes
Accepted
XAMPP appache doesn't start automatic due to net
You are running IIS which allocates the same TCP ports that Apache tries to (failing).
Either deactivate IIS altogether, change its service ports to something else, or bind both IIS and Apache to ...
1
vote
Accepted
Where to put XAMPP HTDOCS Confusion
All I can tell you is that I have had XAMPP working directories on SSD for years without issue. I don't think XAMPP is responsible for crazy amounts of writes, so I would say you are fine.
1
vote
Virtual host installation not working
I get an error saying The webpage is not accessible.
There are several mistakes in your configuration.
Your host file:
127.0.0.1 //Mywebsite.dev
Remove the // from the entry in the hosts file.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xampp × 398apache-http-server × 106
php × 61
mysql × 61
windows × 42
windows-7 × 33
macos × 27
localhost × 27
webserver × 22
linux × 21
networking × 20
ubuntu × 17
phpmyadmin × 13
mac × 11
port-forwarding × 11
port × 11
windows-10 × 10
windows-8 × 10
security × 10
permissions × 9
filezilla × 9
virtual-host × 9
router × 8
google-chrome × 7
ip × 7