forked from DuajDiaz/Travel-Website
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaq.html
523 lines (481 loc) · 31 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Use title if it's in the page YAML frontmatter -->
<title>XAMPP FAQs for Windows</title>
<meta name="description" content="Instructions on how to install XAMPP for Windows distributions." />
<link href="/dashboard/stylesheets/normalize.css" rel="stylesheet" type="text/css" /><link href="/dashboard/stylesheets/all.css" rel="stylesheet" type="text/css" />
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<script src="/dashboard/javascripts/modernizr.js" type="text/javascript"></script>
<link href="/dashboard/images/favicon.png" rel="icon" type="image/png" />
</head>
<body class="faq">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=277385395761685";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="contain-to-grid">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="/dashboard/index.html">Apache Friends</a></h1>
</li>
<li class="toggle-topbar menu-icon">
<a href="#">
<span>Menu</span>
</a>
</li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li class=""><a href="/applications.html">Applications</a></li>
<li class="active"><a href="/dashboard/faq.html">FAQs</a></li>
<li class=""><a href="/dashboard/howto.html">HOW-TO Guides</a></li>
<li class=""><a target="_blank" href="/dashboard/phpinfo.php">PHPInfo</a></li>
<li class=""><a href="/phpmyadmin/">phpMyAdmin</a></li>
</ul>
</section>
</nav>
</div>
<div id="wrapper">
<div class="hero">
<div class="row">
<div class="large-12 columns">
<h1>Windows <span>Frequently Asked Questions</span></h1>
</div>
</div>
</div>
<div class="row">
<div class="large-8 columns">
<dl class="accordion">
<dt>How do I install XAMPP?</dt>
<dd>
<p>XAMPP for Windows exists in three different flavors:</p>
<p>Installer:<br />
Probably the easiest way to install XAMPP.</p>
<p>ZIP:<br />
For purists: XAMPP as ordinary ZIP archive.</p>
<p>7zip:<br />
For purists with low bandwidth: XAMPP as 7zip archive.</p>
<p>Note: If you extract the files, there can be false-positives virus warnings.</p>
<p><strong>Using the installer:</strong></p>
<p></p>
<p>The XAMPP control panel for start/stop Apache, MySQL, FileZilla & Mercury or install these server as services.</p>
<p><strong>Installing from ZIP</strong></p>
<p>Unzip the zip archives into the folder of your choice. XAMPP is extracting to the subdirectory "C:\xampp" below the selected target directory. Now start the file "setup_xampp.bat", to adjust the XAMPP configuration to your system.</p>
<p>If you choose a root directory "C:\" as target, you must not start "setup_xampp.bat".</p>
<p>Like with the installer version, you can now use the "XAMPP Control Panel" for additional tasks.</p>
</dd>
<dt>Does XAMPP include MySQL or MariaDB?</dt>
<dd>
<p>Since XAMPP 5.5.30 and 5.6.14, XAMPP ships MariaDB instead of MySQL. The commands and tools are the same for both.</p>
</dd>
<dt>How can I start XAMPP without setup?</dt>
<dd>
<p>If you extract XAMPP in a top level folder like "C:\" or "D:\", you can start most servers like Apache or MySQL directly without execution of the file "setup_xampp.bat".</p>
<p>Not using the setup script, or selecting relative paths in the setup script, is preferred if you are installing XAMPP on a usb drive. Because on each pc such a drive can have an other drive letter. You can switch from absolute to relative paths at any time with the setup script.</p>
<p>Using the installer from our Downloads page is the easiest way to install XAMPP. After the installation is complete, you will find XAMPP under Start | Programs | XAMPP. You can use the XAMPP Control Panel to start/stop all server and also install/uninstall services.</p>
<p>The XAMPP control panel for start/stop Apache, MySQL, FileZilla & Mercury or install these server as services.</p>
</dd>
<dt>How do I start and stop XAMPP?</dt>
<dd>
<p>The universal control center is the "XAMPP Control Panel" (thanks www.nat32.com). It is started with:</p>
<p><code>\xampp\xampp-control.exe</code></p>
<p>You can also use some batchfiles to start/stop the servers:</p>
<p>
<ul>
<li>Apache & MySQL start:
<code>\xampp\xampp_start.exe</code></li>
<li>Apache & MySQL stop:
<code>\xampp\xampp_stop.exe</code></li>
<li>Apache start:
<code>\xampp\apache_start.bat</code></li>
<li>Apache stop:
<code>\xampp\apache_stop.bat</code></li>
<li>MySQL start:
<code>\xampp\mysql_start.bat</code></li>
<li>MySQL stop:
<code>\xampp\mysql_stop.bat</code></li>
<li>Mercury Mailserver start:
<code>\xampp\mercury_start.bat</code></li>
<li>Mercury Mailserver stop:
<code>\xampp\mercury_stop.bat</code></li>
<li>FileZilla Server start:
<code>\xampp\filezilla_start.bat</code></li>
<li>FileZilla Server stop:
<code>\xampp\filezilla_stop.bat</code></li></ul></p>
</p>
</dd>
<dt>How can I test that everything worked?</dt>
<dd>
<p>Type in the following URL at your favourite web browser:</p>
<p><code>http://localhost/</code> or <code>http://127.0.0.1/</code> </p>
<p>You should see the XAMPP start page, as shown below.</p>
<img src="/dashboard/images/screenshots/xampp-windows-start.jpg" />
</dd>
<dt>How can I install a server as a service?</dt>
<dd>
<p>Each server in XAMPP you can install also as Windows service. You can also install it from the XAMPP Control Panel. In this case it is necessary to run the scripts or the Control Panel with Administrator privileges.</p>
<p>Apache service install: \xampp\apache\apache_installservice.bat</p>
<p>Apache service uninstall: \xampp\apache\apache_uninstallservice.bat </p>
<p>MySQL service install: \xampp\mysql\mysql_installservice.bat </p>
<p>MySQL service uninstall: \xampp\mysql\mysql_uninstallservice.bat </p>
<p>FileZilla service (un)install: \xampp\filezilla_setup.bat </p>
<p>Mercury: No service installation available</p>
</dd>
<dt>Is XAMPP production ready?</dt>
<dd>
<p>XAMPP is not meant for production use but only for development environments. XAMPP is configured to be open as possible to allow the developer anything he/she wants. For development environments, this is great but in a production environment, it could be fatal.</p>
<p>Here a list of missing security in XAMPP:</p>
<ol>
<li>The MySQL administrator (root) has no password.</li>
<li>The MySQL daemon is accessible via network.</li>
<li>ProFTPD uses the password "lampp" for user "daemon".</li>
<li>The default users of Mercury and FileZilla are known.</li>
</ol>
<p>All points can be a huge security risk. Especially if XAMPP is accessible via network and people outside your LAN. It can also help to use a firewall or a (NAT) router. In case of a router or firewall, your PC is normally not accessible via network. It is up to you to fix these problems. As a small help there is the "XAMPP Security console".</p>
<p>Please secure XAMPP before publishing anything online. A firewall or an external router are only sufficient for low levels of security. For slightly more security, you can run the "XAMPP Security console" and assign passwords.</p>
<p>If you want have your XAMPP accessible from the internet, you should go to the following URI which can fix some problems:</p>
<p><code> http://localhost/security/</code></p>
<p>With the security console you can set a password for the MySQL user "root" and phpMyAdmin. You can also enable a authentication for the XAMPP demopages.</p>
<p>This web based tool does not fix any additional security issues! Especially the FileZilla FTP server and the Mercury mail server you must secure yourself.</p></dd>
<dt>How do I uninstall XAMPP?</dt>
<dd>
<p>If you installed XAMPP using the installer version, please use the Uninstaller. The Uninstaller will delete all XAMPP entries from your registry and it will uninstall some installed services included with XAMPP. We highly recommend that you use the Uninstall program for removing XAMPP installations from the Installer version.Please backup all the data you want to keep before uninstalling XAMPP.</p>
<p>If you installed XAMPP using the ZIP and 7zip versions, shut down all XAMPP servers and exit all panels. If you installed any services, uninstall and shut them down too. Now simply delete the entire folder where XAMPP is installed. There are no registry entries and no environment variables to clean up.</p>
</dd>
<dt>What is the "lite" version of XAMPP?</dt>
<dd>
<p>XAMPP Lite (means "light" as in "light-weight") is a smaller bundle of XAMPP components, which is recommended for quick work using only PHP and MySQL. Some servers or tools such as Mercury Mail and FileZilla FTP are missing in the Lite version.</p>
</dd>
<dt>Where should I place my web content?</dt>
<dd>
<p>The main directory for all WWW documents is \xampp\htdocs. If you put a file "test.html" in this directory, you can access it with the URI "http://localhost/test.html".</p>
<p>And "test.php"? Just use "http://localhost/test.php". A simple testscript can be:</p>
<p><code><?php<br />
echo 'Hello world'; <br />
?></code></p>
<p>A new subdirectory for your web? Just make a new directory (e.g. "new") inside the directory "\xampp\htdocs" (best without whitespaces and only ASCII), create a test file in this directory and access it with "http://localhost/new/test.php".</p>
<p><strong>Further specifics</strong></p>
<p>HTML:<br>
Executable: \xampp\htdocs<br>
Allowed endings: .html .htm<br>
=> basic package</p>
<p>SSI:<br>
Executable: \xampp\htdocs<br>
Allowed endings: .shtml<br>
=> basic package</p>
<p>CGI:<br>
Executable: \xampp\htdocs and \xampp\cgi-bin<br>
Allowed endings: .cgi<br>
=> basic package</p>
<p>PHP:<br>
Executable: \xampp\htdocs and \xampp\cgi-bin<br>
Allowed endings: .php<br>
=> basic package</p>
<p>Perl:<br>
Executable: \xampp\htdocs and \xampp\cgi-bin<br>
Allowed endings: .pl<br>
=> basic package</p>
<p>Apache::ASP Perl:<br>
Executable: \xampp\htdocs<br>
Allowed endings: .asp<br>
=> basic package</p>
<p>JSP Java:<br>
Executable: \xampp\tomcat\webapps\java (e.g.)<br>
Allowed endings: .jsp<br>
=> Tomcat add-on</p>
<p>Servlets Java:<br>
Executable: \xampp\tomcat\webapps\java (e.g.)<br>
Allowed endings: .html (u.a)<br>
=> Tomcat add-on</p>
</dd>
<dt>Can I move the XAMPP installation?</dt>
<dd>
<p>Yes. After moving of the XAMPP directory, you must execute "setup_xampp.bat". The paths in the configuration files will be adjusted with this step.</p>
<p>If you have installed any server as Windows service, you must first remove the Windows service, and after the moving you can install the service again.</p>
<p>WARNING: The configuration files from your own scripts, like PHP applications, are not adjusted. But it's possible to write a "plug-in" for the installer. With such a plug-in, the installer can adjust such files too.</p>
</dd>
<dt>What are "Automatic start pages" for the WWW directories?</dt>
<dd>
<p>The standard filename for the Apache function "DirectoryIndex" is "index.html" or "index.php". Every time you are just browsing to a folder (e.g. "http://localhost/xampp/"), and Apache can find such a file, Apache is displaying this file instead of a directory listing.</p>
</dd>
<dt>Where can I change the configuration?</dt>
<dd>
<p>Almost all settings in XAMPP you can change with configuration files. Just open the file in a textedit and change the setting you want. Only FileZilla and Mercury should be configured with the application config tool.</p>
</dd>
<dt>Why can't XAMPP work on Windows XP SP2?</dt>
<dd>
<p>Microsoft delivers a better firewall with service pack 2 (SP2), which starts automatically. This firewall now blocks the necessary ports 80 (http) and 443 (https) and Apache can't start.</p>
<p><strong>The fast solution:</strong></p>
<p>Disable the Microsoft firewall with the toolbar and try to start XAMPP onces more. The better solution is to define an exception within the security center.</p>
<p><strong>The following ports are used for basic functionality:</strong></p>
<p>Apache (HTTP): Port 80<br/>
Apache (WebDAV): Port 81</br>
Apache (HTTPS): Port 443</br>
MySQL: Port 3306</br>
FileZilla (FTP): Port 21</br>
FileZilla (Admin): Port 14147</br>
Mercury (SMTP): Port 25</br>
Mercury (POP3): Port 110</br>
Mercury (IMAP): Port 143</br>
Mercury (HTTP): Port 2224</br>
Mercury (Finger): Port 79</br>
Mercury (PH): Port 105</br>
Mercury (PopPass): Port 106</br>
Tomcat (AJP/1.3): Port 8009</br>
Tomcat (HTTP): Port 8080</p>
</dd>
<dt>Why doesn't XAMPP work on Vista?</dt>
<dd>
<p><strong>User Account Control (UAC)</strong></p>
<p>In the directory "C:\program files" you don't have full write privileges, even as Admin. Or you have only limited privileges (e.g. for ".\xampp\htdocs"). In this case you can't edit a file.</br>
<strong>Solution:</strong> Raise your privileges within explorer (right click / security) or disable the user account control (UAC).</p>
<p>You have installed Apache/MySQL in "C:\xampp" as Windows service. But you can't start/stop the services with the "XAMPP Control Panel" or can't uninstall them.</br></br>
<strong>Solution:</strong> Use the service management console from Windows or disable UAC.</p>
<p><strong>Disabling the User Account Control (UAC)</strong></p>
<p>To disable the UAC, use the program "msconfig". In "msconfig" go to "Tools", select "disable user account control" and verify your selection. Now you must restart Windows. At the same time, you can enable the UAC again.</p>
</dd>
<dt>How do I check the md5 checksum?</dt>
<dd>
<p>To compare files, often checksums are used. A standard to create this checksum md5 (Message Digest Algorithm 5).</p>
<p>With this md5 checksum you can test, if your download of the XAMPP package is correct or not. Of course you need a program which can create these checksums. For Windows you can use a tool from Microsoft:</p>
<p><a href="http://support.microsoft.com/kb/841290">Availability and description of the File Checksum Integrity Verifier utility</a></p>
<p>It's also possible to use any other program which can create md5 checksums, like the GNU md5sum.</p>
<p>As you have installed such a program (e.g. fciv.exe), you can do following steps:</p>
<p>
<ul>
<li>Download XAMPP (f.e. xampp-win32-1.8.2-0.exe)</li>
<li>Create the checksum with:</br>
<code>fciv.exe xampp-win32-1.8.2-0.exe</code>
</li>
<li>And now you can compare this checksum with that one you can find on the XAMPP for Windows homepage.</li>
</ul>
</p>
<p>If both checksums equal, all is ok. If not, the download is broken or the file has been changed.</p>
</dd>
<dt>Why have changes in my php.ini not taken effect?</dt>
<dd>
<p>If a change in the "php.ini" has no effect, it's possible PHP is using a different one. You can verify this with phpinfo(). Go to the URI http://localhost/xampp/phpinfo.php and search for "Loaded Configuration File". This value shows you the "php.ini" PHP is really using.</p>
<p><strong>Note:</strong> After changing the "php.ini" you have to restart Apache so that Apache/PHP can read the new settings.</p>
</dd>
<dt>Help! There is a virus in XAMPP!</dt>
<dd>
<p>Some antivirus programs mistake XAMPP for a virus, typically flagging the file xampp-manager.exe This is a false positive meaning that the antivirus erroneously identified it as a virus, when it is not. Before we release each new version of XAMPP we run it through virus scanning software. At the moment we are using <a href="http://www.kaspersky.com/virusscanner">Kapersky Online Virus Scanner</a>. You can also use the online tool <a href="https://www.virustotal.com/">Virus Total</a> for scanning XAMPP or send us an email to security (at) apachefriends (dot) org if you find any issue.</p>
</dd>
<dt>How do I configure my antivirus application?</dt>
<dd>
<p>We have included all dependences and servers required for running the bundled web application, so you will find that XAMPP installs large numbers of files. If you are installing a XAMPP application on a Windows machine with an antivirus app enabled, this may slow down the installation significantly, and there is also a chance that one of the servers (web server, database server) may be blocked by the antivirus software. If you have an antivirus tool enabled, check the following settings for running XAMPP without performance issues:</p>
<p>
<ul>
<li>Add exceptions in the firewall: for Apache, MySQL or any other server.</li>
<li>Scan files when executing: If you have enabled the antivirus scan for all files, the executable files for the servers may slow down.</li>
<li>Scan the traffic for different URLs: If you are developing with XAMPP on your own machine, you can exclude "localhost" traffic in the Antivirus settings.</li>
</ul>
</p>
</dd>
<dt>Why doesn't the Apache server start on my system?</dt>
<dd>
<p>This problem can be one of several reasons:</p>
<p>
<ul>
<li>You have started more then one HTTP Server (IIS, Sambar, ZEUS and so on). Only one Server can use port 80. This error message indicate the problem:<br/>
<code>(OS 10048)... make_sock: could not bind to adress 0.0.0.0:80
no listening sockets available, shutting down</code></li>
<li>You have other software, such as the Internet Telephone "Skype" which also blocks the port 80. If the problem is "Skype", you can go in Skype to Actions --> Options --> Connection --> remove the check mark at "use port 80 for an alternate port" and restart Skype. Now it should work.</li>
<li>You have a firewall which blocks the Apache port. Not all firewalls are compatible with Apache, and sometimes deactivating the firewall is not enough and you must deinstall it. This error message indicates a firewall:<br/>
<code>(OS 10038)Socket operation on non-socket: make_sock: for address 0.0.0.0:80,
apr_socket_opt_set: (SO_KEEPALIVE)</code></li>
</ul>
<p>Also if Apache can start, but your browser can't connect to it it could be due to one of the following:</p>
<ul>
<li>Some virus scanners can cause this in the same way that firewalls can interfere.</li>
<li>You have XP Professional without service pack 1. You must have at least SP1 for XAMPP.</li>
</ul>
</p>
<p><strong>Tip:</strong> If you have problems with used ports, you can try the tool "xampp-portcheck.exe". Maybe it can help.</p>
</dd>
<dt>Why is my CPU load for Apache almost 99%?</dt>
<dd>
<p>There is one of two scenarios at play here. Either your CPU is maxing out, or you can browser connect to the server, but not see anything (the system is trying unsucessfully to load the page). In either case you can find the following message in the Apache log file:</p>
<p><code>Child: Encountered too many AcceptEx faults accepting client connections.
winnt_mpm: falling back to 'AcceptFilter none'.</code></p>
<p>The MPM falls back to a safer implementation, but some client requests were not processed correctly. In order to avoid this error, use "AcceptFilter" with accept filter "none" in the "\xampp\apache\conf\extra\httpd-mpm.conf" file.</p>
</dd>
<dt>Why are pictures and style-sheets not displayed?</dt>
<dd>
<p>Sometimes there are problems with displaying pictures and style-sheets. Especially if these files are located on a network drive. In this case you can enable (or add) one if the following lines in the file "\xampp\apache\conf\httpd.conf":</p>
<p><code>EnableSendfile off</br>
EnableMMAP off</code></p>
<p>This problem can also be caused by programs for regulating bandwidth, like NetLimiter.</p>
</dd>
<dt>How do I send email with XAMPP?</dt>
<dd>
<p>To configure XAMPP to use the included sendmail.exe binary for email delivery, follow these steps:</p>
<ul>
<li>Edit the XAMPP "php.ini" file. Within this file, find the [mail function] section and replace it with the following directives. Change the XAMPP installation path if needed.
<code>
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
</code>
</li>
<li>Edit the XAMPP "sendmail.ini" file. Within this file, find the [sendmail] section and replace it with the following directives:
<code>
smtp_server=smtp.gmail.com
smtp_port=465
smtp_ssl=auto
error_logfile=error.log
auth_password=your-gmail-password
</code>
<p>Remember to replace the dummy values shown with your actual Gmail address and account password. If you don't plan to use Gmail's SMTP server, replace the SMTP host details with appropriate values for your organization or ISP's SMTP server.</p>
</li>
<li>Restart the Apache server using the XAMPP control panel.
</li>
</ul>
<p>You can now use PHP's mail() function to send email from your application.</p>
</dd>
<dt>How can I set a root password in MySQL?</dt>
<dd>
<p>Configure it with the "XAMPP Shell" (command prompt). Open the shell from the XAMPP control pane and execute this command:<code>mysqladmin.exe -u root password secret</code>This sets the root password to 'secret'.</p>
</dd>
<dt>Can I use my own MySQL server?</dt>
<dd>
<p>Yes. Simply don't start the MySQL from the XAMPP package. Please note that two servers cannot be started on the same port. If you have set a password for "root", please do not forget to edit the file "\xampp\phpMyAdmin\config.inc.php".</p>
</dd>
<dt>How do I restrict access to phpMyAdmin from the outside?</dt>
<dd>
<p>In the basic configuration of XAMPP, phpMyAdmin is accessible only from the same host that XAMPP is running on, at http://127.0.0.1 or http://localhost.</p>
<p>Before you can access the MySQL server, phpMyAdmin will prompt you for a user name and password. Don't forget to set a password for the user "root" first.</p>
</dd>
<dt>How do I enable access to phpMyAdmin from the outside?</dt>
<dd>
<p>In the basic configuration of XAMPP, phpMyAdmin is accessible only from the same host that XAMPP is running on, at http://127.0.0.1 or http://localhost.</p>
<p>IMPORTANT: Enabling external access for phpMyAdmin in production environments is a significant security risk. You are strongly advised to only allow access from localhost. A remote attacker could take advantage of any existing vulnerability for executing code or for modifying your data.</p>
<p>To enable remote access to phpMyAdmin, follow these steps:</p>
<ul>
<li>Edit the apache\conf\extra\httpd-xampp.conf file in your XAMPP installation directory.</li>
<li>Within this file, find the lines below.
<p><code>
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require local
</code></p>
</li>
<li>Then replace 'Require local' with 'Require all granted'.</li>
<p><code>
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require all granted
</code></p>
<li>Restart the Apache server using the XAMPP control panel.</li>
</ul>
</dd>
<dt>Where is the IMAP support for PHP?</dt>
<dd>
<p>As default, the IMAP support for PHP is deactivated in XAMPP due to some mysterious initialization errors with some home versions like Windows 98. If you work with NT systems, you can open the file "\xampp\php\php.ini" to activate the php exstension by removing the beginning semicolon at the line ";extension=php_imap.dll". It should be:</br>
<code>extension=php_imap.dll</code></p>
<p>Now restart Apache and IMAP should work. You can use the same steps for every extension, which is not enabled in the default configuration.</p>
</dd>
<dt>Why don't some PHP open source apps work with XAMPP on Windows?</dt>
<dd>
<p>A lot of PHP applications or extensions that have been written for Linux haven’t been ported to Windows. </p>
</dd>
<dt>Can I delete the "install" directory after installation?</dt>
<dd>
<p>It's better not to. The scripts here are still needed for all additional packages (add-ons) and upgrades of XAMPP.</p>
</dd>
<dt>How do I activate the eaccelerator?</dt>
<dd>
<p>Like other (Zend) extensions, you can activate it in "php.ini". In this file, enable the line ";zend_extension = "\xampp\php\ext\php_eaccelerator.dll"". It should be:</br>
<code>zend_extension = "\xampp\php\ext\php_eaccelerator.dll"</code></p>
</dd>
<dt>How do I fix a connection error to my MS SQL server?</dt>
<dd>
<p>If the mssql extension was loaded in the php.ini, sometimes problems appear when only TCP/IP is used. You can fix that problem with a newer "ntwdblib.dll" from Microsoft. Please replace the older file in "\xampp\apache\bin" and "\xampp\php" with the new one. Because of the license, we can't package a newer version of this file with XAMPP.</p>
</dd>
<dt>How do I work with the PHP mcrypt extension?</dt>
<dd>
<p>For this, we have opened a topic in the forum with examples and possible solutions: <a href="https://community.apachefriends.org/f/viewtopic.php?t=3012">MCrypt topic</a></p>
</dd>
<dt>Do Microsoft Active Server Pages (ASP) work with XAMPP?</dt>
<dd>
<p>No. And Apache::ASP with the Perl Add-On is not the same. Apache::ASP only knows Perl-Script, but ASP from the Internet Information Server (IIS) also knows the normal VBScript. But for ASP .NET, there is a 3rd party Apache module available.</p>
</dd>
<dt>How can I get XAMPP working on port 80 under Windows 10?</dt>
<dd>
<p>By default, Windows 10 starts Microsoft IIS on port 80, which is the same default port used by Apache in XAMPP. As a result, Apache cannot bind to port 80.</p>
<p>To disable IIS from running on port 80, follow these steps:</p>
<ul>
<li>Open the Services panel in Computer Management.</li>
<li>Search for the 'World Wide Web Publishing Service' and select it.</li>
<li>Click the link to 'Stop the service'.</li>
<li>Double-click the service name.</li>
<li>In the 'Startup type' field, change the startup type to 'Disabled'.</li>
<li>Click 'OK' to save your changes.</li>
</ul>
<p>You should now be able to start Apache in XAMPP on port 80.</p>
<p>For more information, refer to the 'Troubleshoot Apache Startup Problems' guide included with XAMPP or <a href='https://community.apachefriends.org/f/viewtopic.php?f=16&t=71620'>this forum post</a>.</p>
</dd>
<dt>How can I use Microsoft Edge to access local addresses under Windows 10?</dt>
<dd>
<p>If your local machine has the host name 'myhost', you will not be able to access URLs such as http://myhost in Microsoft Edge. To resolve this, you should instead use the addresses http://127.0.0.1 or http://localhost.</p>
</dd>
<dt>Where are the main XAMPP configuration files?</dt>
<dd>
<p>The main XAMPP configuration files are located as follows:</p>
<ul>
<li>Apache configuration file: \xampp\apache\conf\httpd.conf, \xampp\apache\conf\extra\httpd-xampp.conf</li>
<li>PHP configuration file: \xampp\php\php.ini</li>
<li>MySQL configuration file: \xampp\mysql\bin\my.ini</li>
<li>FileZilla Server configuration file: \xampp\FileZillaFTP\FileZilla Server.xml</li>
<li>Apache Tomcat configuration file: \xampp\tomcat\conf\server.xml</li>
<li>Apache Tomcat configuration file: \xampp\sendmail\sendmail.ini</li>
<li>Mercury Mail configuration file: \xampp\MercuryMail\MERCURY.INI</li>
</ul>
</dd>
</dl>
</div>
</div>
</div>
<footer>
<div class="row">
<div class="large-12 columns">
<div class="row">
<div class="large-8 columns">
<ul class="social">
<li class="twitter"><a href="https://twitter.com/apachefriends">Follow us on Twitter</a></li>
<li class="facebook"><a href="https://www.facebook.com/we.are.xampp">Like us on Facebook</a></li>
<li class="google"><a href="https://plus.google.com/+xampp/posts">Add us to your G+ Circles</a></li>
</ul>
<ul class="inline-list">
<li><a href="https://www.apachefriends.org/blog.html">Blog</a></li>
<li><a href="https://www.apachefriends.org/privacy_policy.html">Privacy Policy</a></li>
<li>
<a target="_blank" href="http://www.fastly.com/"> CDN provided by
<img width="48" data-2x="/dashboard/images/[email protected]" src="/dashboard/images/fastly-logo.png" />
</a> </li>
</ul>
</div>
<div class="large-4 columns">
<p class="text-right">Copyright (c) 2018, Apache Friends</p>
</div>
</div>
</div>
</div>
</footer>
<!-- JS Libraries -->
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="/dashboard/javascripts/all.js" type="text/javascript"></script>
</body>
</html>