Skip to content Skip to sidebar Skip to footer

The Remote Host or Network May Be Down Please Try the Request Again Xampp

How do I install XAMPP?

XAMPP for Windows exists in three different flavors:

Installer:
Probably the easiest fashion to install XAMPP.

ZIP:
For purists: XAMPP as ordinary Cypher archive.

7zip:
For purists with depression bandwidth: XAMPP equally 7zip archive.

Note: If you excerpt the files, there tin be simulated-positives virus warnings.

Using the installer:

The XAMPP command panel for starting time/stop Apache, MySQL, FileZilla & Mercury or install these server as services.

Installing from ZIP

Unzip the zilch archives into the folder of your choice. XAMPP is extracting to the subdirectory "C:\xampp" beneath the selected target directory. Now start the file "setup_xampp.bat", to adjust the XAMPP configuration to your arrangement.

If yous choose a root directory "C:\" as target, you must not offset "setup_xampp.bat".

Like with the installer version, you can now use the "XAMPP Control Panel" for additional tasks.

Does XAMPP include MySQL or MariaDB?

Since XAMPP 5.v.30 and five.6.14, XAMPP ships MariaDB instead of MySQL. The commands and tools are the same for both.

How tin can I start XAMPP without setup?

If you excerpt 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".

Non using the setup script, or selecting relative paths in the setup script, is preferred if you lot are installing XAMPP on a usb drive. Because on each pc such a drive can have an other drive letter. You lot can switch from accented to relative paths at any time with the setup script.

Using the installer from our Downloads page is the easiest way to install XAMPP. After the installation is complete, you will observe XAMPP nether Showtime | Programs | XAMPP. You tin utilise the XAMPP Command Console to start/stop all server and besides install/uninstall services.

The XAMPP control panel for start/cease Apache, MySQL, FileZilla & Mercury or install these server as services.

How do I start and stop XAMPP?

The universal control center is the "XAMPP Control Panel" (thanks world wide web.nat32.com). It is started with:

\xampp\xampp-control.exe

You can likewise use some batchfiles to commencement/terminate the servers:

  • Apache & MySQL start: \xampp\xampp_start.exe
  • Apache & MySQL stop: \xampp\xampp_stop.exe
  • Apache kickoff: \xampp\apache_start.bat
  • Apache terminate: \xampp\apache_stop.bat
  • MySQL start: \xampp\mysql_start.bat
  • MySQL stop: \xampp\mysql_stop.bat
  • Mercury Mailserver start: \xampp\mercury_start.bat
  • Mercury Mailserver cease: \xampp\mercury_stop.bat
  • FileZilla Server start: \xampp\filezilla_start.bat
  • FileZilla Server finish: \xampp\filezilla_stop.bat
How can I test that everything worked?

Type in the following URL at your favourite web browser:

http://localhost/ or http://127.0.0.1/

You should see the XAMPP start page, every bit shown below.

How tin I install a server as a service?

Each server in XAMPP you can install also every bit Windows service. Y'all tin likewise install it from the XAMPP Control Panel. In this instance information technology is necessary to run the scripts or the Control Panel with Administrator privileges.

Apache service install: \xampp\apache\apache_installservice.bat

Apache service uninstall: \xampp\apache\apache_uninstallservice.bat

MySQL service install: \xampp\mysql\mysql_installservice.bat

MySQL service uninstall: \xampp\mysql\mysql_uninstallservice.bat

FileZilla service (un)install: \xampp\filezilla_setup.bat

Mercury: No service installation available

Is XAMPP product ready?

XAMPP is not meant for production use simply only for evolution environments. XAMPP is configured to exist open equally possible to allow the developer anything he/she wants. For development environments, this is smashing simply in a production environment, it could be fatal.

Hither a list of missing security in XAMPP:

  1. The MySQL administrator (root) has no countersign.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the countersign "lampp" for user "daemon".
  4. The default users of Mercury and FileZilla are known.

All points can be a huge security take chances. Peculiarly if XAMPP is accessible via network and people outside your LAN. It can also help to utilise a firewall or a (NAT) router. In example of a router or firewall, your PC is normally not attainable via network. It is up to you to ready these issues. Equally a small-scale help there is the "XAMPP Security console".

Delight secure XAMPP before publishing anything online. A firewall or an external router are only sufficient for low levels of security. For slightly more security, yous tin can run the "XAMPP Security console" and assign passwords.

If you want have your XAMPP accessible from the cyberspace, you should become to the following URI which can fix some problems:

http://localhost/security/

With the security console y'all tin can set a password for the MySQL user "root" and phpMyAdmin. You can also enable a authentication for the XAMPP demopages.

This web based tool does not gear up whatever additional security issues! Specially the FileZilla FTP server and the Mercury mail server you must secure yourself.

How exercise I uninstall XAMPP?

If yous installed XAMPP using the installer version, please use the Uninstaller. The Uninstaller volition 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.Delight backup all the data you lot want to keep before uninstalling XAMPP.

If you lot installed XAMPP using the Goose egg and 7zip versions, shut downwardly all XAMPP servers and exit all panels. If you lot installed whatsoever services, uninstall and shut them down besides. At present simply delete the unabridged folder where XAMPP is installed. There are no registry entries and no environs variables to clean upwardly.

What is the "lite" version of XAMPP?

XAMPP Low-cal (means "light" as in "light-weight") is a smaller bundle of XAMPP components, which is recommended for quick piece of work using only PHP and MySQL. Some servers or tools such equally Mercury Post and FileZilla FTP are missing in the Lite version.

Where should I identify my web content?

The main directory for all Www documents is \xampp\htdocs. If you put a file "test.html" in this directory, yous can access it with the URI "http://localhost/exam.html".

And "examination.php"? Just employ "http://localhost/examination.php". A simple testscript can be:

<?php
echo 'Hello world';
?>

A new subdirectory for your spider web? Just make a new directory (e.1000. "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".

Further specifics

HTML:
Executable: \xampp\htdocs
Allowed endings: .html .htm
=> basic parcel

SSI:
Executable: \xampp\htdocs
Immune endings: .shtml
=> basic parcel

CGI:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .cgi
=> bones package

PHP:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .php
=> basic package

Perl:
Executable: \xampp\htdocs and \xampp\cgi-bin
Allowed endings: .pl
=> basic package

Apache::ASP Perl:
Executable: \xampp\htdocs
Allowed endings: .asp
=> basic package

JSP Java:
Executable: \xampp\tomcat\webapps\java (e.g.)
Immune endings: .jsp
=> Tomcat improver

Servlets Java:
Executable: \xampp\tomcat\webapps\java (e.thou.)
Allowed endings: .html (u.a)
=> Tomcat add-on

Can I motion the XAMPP installation?

Yes. Afterwards moving of the XAMPP directory, yous must execute "setup_xampp.bat". The paths in the configuration files will be adjusted with this step.

If yous accept installed any server as Windows service, you lot must get-go remove the Windows service, and afterward the moving you tin install the service again.

Warning: The configuration files from your own scripts, like PHP applications, are not adjusted. But information technology's possible to write a "plug-in" for the installer. With such a plug-in, the installer can arrange such files too.

What are "Automatic start pages" for the Www directories?

The standard filename for the Apache function "DirectoryIndex" is "alphabetize.html" or "index.php". Every time you are just browsing to a binder (east.g. "http://localhost/xampp/"), and Apache can observe such a file, Apache is displaying this file instead of a directory listing.

Where can I change the configuration?

Nigh all settings in XAMPP you lot can change with configuration files. But open up the file in a textedit and change the setting you desire. Merely FileZilla and Mercury should be configured with the awarding config tool.

Why can't XAMPP work on Windows XP SP2?

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 tin't start.

The fast solution:

Disable the Microsoft firewall with the toolbar and attempt to start XAMPP onces more. The meliorate solution is to define an exception within the security heart.

The post-obit ports are used for basic functionality:

Apache (HTTP): Port 80
Apache (WebDAV): Port 81
Apache (HTTPS): Port 443
MySQL: Port 3306
FileZilla (FTP): Port 21
FileZilla (Admin): Port 14147
Mercury (SMTP): Port 25
Mercury (POP3): Port 110
Mercury (IMAP): Port 143
Mercury (HTTP): Port 2224
Mercury (Finger): Port 79
Mercury (PH): Port 105
Mercury (PopPass): Port 106
Tomcat (AJP/1.three): Port 8009
Tomcat (HTTP): Port 8080

Why doesn't XAMPP piece of work on Vista?

User Account Command (UAC)

In the directory "C:\program files" you don't have full write privileges, even equally Admin. Or yous have simply limited privileges (due east.g. for ".\xampp\htdocs"). In this case you can't edit a file.
Solution: Raise your privileges inside explorer (right click / security) or disable the user business relationship control (UAC).

Yous have installed Apache/MySQL in "C:\xampp" as Windows service. Only you can't showtime/stop the services with the "XAMPP Control Console" or tin't uninstall them.

Solution: Use the service direction console from Windows or disable UAC.

Disabling the User Account Control (UAC)

To disable the UAC, use the program "msconfig". In "msconfig" go to "Tools", select "disable user account control" and verify your selection. At present you must restart Windows. At the same fourth dimension, you can enable the UAC again.

How practise I cheque the md5 checksum?

To compare files, often checksums are used. A standard to create this checksum md5 (Bulletin Digest Algorithm 5).

With this md5 checksum you tin can exam, if your download of the XAMPP package is correct or not. Of course you lot need a plan which can create these checksums. For Windows yous tin use a tool from Microsoft:

Availability and description of the File Checksum Integrity Verifier utility

It'southward also possible to utilize whatsoever other program which can create md5 checksums, like the GNU md5sum.

Equally you lot have installed such a programme (e.g. fciv.exe), you tin can do post-obit steps:

  • Download XAMPP (f.e. xampp-win32-i.8.two-0.exe)
  • Create the checksum with:
    fciv.exe xampp-win32-1.eight.2-0.exe
  • And now yous can compare this checksum with that i you can find on the XAMPP for Windows homepage.

If both checksums equal, all is ok. If not, the download is broken or the file has been changed.

Why accept changes in my php.ini not taken event?

If a modify in the "php.ini" has no effect, it'southward possible PHP is using a different one. You tin verify this with phpinfo(). Go to the URI http://localhost/xampp/phpinfo.php and search for "Loaded Configuration File". This value shows y'all the "php.ini" PHP is really using.

Notation: Later on irresolute the "php.ini" you lot have to restart Apache so that Apache/PHP can read the new settings.

Help! There is a virus in XAMPP!

Some antivirus programs mistake XAMPP for a virus, typically flagging the file xampp-director.exe This is a simulated positive meaning that the antivirus erroneously identified it every bit a virus, when it is not. Earlier nosotros release each new version of XAMPP nosotros run it through virus scanning software. At the moment we are using Kapersky Online Virus Scanner. You can also utilize the online tool Virus Total for scanning XAMPP or send united states of america an e-mail to security (at) apachefriends (dot) org if you observe any issue.

How practise I configure my antivirus application?

We have included all dependences and servers required for running the bundled web application, so you will observe that XAMPP installs large numbers of files. If yous are installing a XAMPP application on a Windows car with an antivirus app enabled, this may slow downward the installation significantly, and there is as well a run a risk that one of the servers (web server, database server) may exist blocked by the antivirus software. If you have an antivirus tool enabled, check the following settings for running XAMPP without performance issues:

  • Add together exceptions in the firewall: for Apache, MySQL or any other server.
  • Scan files when executing: If you lot have enabled the antivirus scan for all files, the executable files for the servers may dull down.
  • Scan the traffic for different URLs: If you lot are developing with XAMPP on your own machine, y'all can exclude "localhost" traffic in the Antivirus settings.
Why doesn't the Apache server start on my system?

This problem can be one of several reasons:

  • You take started more then 1 HTTP Server (IIS, Sambar, ZEUS and and then on). Only ane Server can use port 80. This error message indicate the problem:
    (OS 10048)... make_sock: could not bind to adress 0.0.0.0:80 no listening sockets available, shutting downwardly
  • You take other software, such as the Internet Telephone "Skype" which also blocks the port 80. If the trouble is "Skype", you lot can become in Skype to Actions --> Options --> Connectedness --> remove the check mark at "use port lxxx for an alternate port" and restart Skype. At present it should work.
  • You have a firewall which blocks the Apache port. Not all firewalls are uniform with Apache, and sometimes deactivating the firewall is non enough and y'all must deinstall it. This error message indicates a firewall:
    (OS 10038)Socket functioning on not-socket: make_sock: for address 0.0.0.0:80, apr_socket_opt_set: (SO_KEEPALIVE)

As well if Apache can start, simply your browser can't connect to it it could exist due to i of the post-obit:

  • Some virus scanners can cause this in the same way that firewalls tin interfere.
  • You have XP Professional without service pack 1. You must have at least SP1 for XAMPP.

Tip: If yous have bug with used ports, you tin try the tool "xampp-portcheck.exe". Maybe it tin aid.

Why is my CPU load for Apache almost 99%?

There is 1 of two scenarios at play here. Either your CPU is maxing out, or yous tin browser connect to the server, but non run into anything (the system is trying unsucessfully to load the folio). In either case you can discover the following message in the Apache log file:

Child: Encountered as well many AcceptEx faults accepting client connections. winnt_mpm: falling dorsum to 'AcceptFilter none'.

The MPM falls dorsum to a safer implementation, but some client requests were not candy correctly. In lodge to avert this fault, utilise "AcceptFilter" with accept filter "none" in the "\xampp\apache\conf\extra\httpd-mpm.conf" file.

Why are pictures and fashion-sheets not displayed?

Sometimes there are bug with displaying pictures and style-sheets. Peculiarly if these files are located on a network drive. In this case you can enable (or add) one if the post-obit lines in the file "\xampp\apache\conf\httpd.conf":

EnableSendfile off
EnableMMAP off

This problem can also be acquired by programs for regulating bandwidth, like NetLimiter.

How do I ship email with XAMPP?

To configure XAMPP to employ the included sendmail.exe binary for e-mail delivery, follow these steps:

  • Edit the XAMPP "php.ini" file. Within this file, find the [postal service office] department and supercede it with the following directives. Alter the XAMPP installation path if needed. sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
  • Edit the XAMPP "sendmail.ini" file. Within this file, find the [sendmail] department and supersede information technology with the following directives: smtp_server=smtp.gmail.com smtp_port=465 smtp_ssl=auto error_logfile=error.log auth_username=your-gmail-username@gmail.com auth_password=your-gmail-countersign

    Remember to replace the dummy values shown with your actual Gmail address and account password. If you don't program to use Gmail's SMTP server, supplant the SMTP host details with appropriate values for your organization or Internet service provider'due south SMTP server.

  • Restart the Apache server using the XAMPP control panel.

You can now use PHP's mail() office to send email from your application.

How tin I set up a root password in MySQL?

Configure it with the "XAMPP Crush" (command prompt). Open the shell from the XAMPP control pane and execute this command:mysqladmin.exe -u root password secretThis sets the root countersign to 'hole-and-corner'.

Tin can I utilise my own MySQL server?

Yes. Simply don't showtime the MySQL from the XAMPP bundle. Please note that two servers cannot exist started on the same port. If you have fix a password for "root", please do non forget to edit the file "\xampp\phpMyAdmin\config.inc.php".

How exercise I restrict access to phpMyAdmin from the outside?

In the basic configuration of XAMPP, phpMyAdmin is accessible only from the same host that XAMPP is running on, at http://127.0.0.ane or http://localhost.

Before you can admission the MySQL server, phpMyAdmin volition prompt y'all for a user proper name and password. Don't forget to set a countersign for the user "root" first.

How practise I enable access to phpMyAdmin from the exterior?

In the basic configuration of XAMPP, phpMyAdmin is accessible only from the same host that XAMPP is running on, at http://127.0.0.ane or http://localhost.

Important: Enabling external access for phpMyAdmin in product environments is a pregnant security risk. Yous 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.

To enable remote access to phpMyAdmin, follow these steps:

  • Edit the apache\conf\extra\httpd-xampp.conf file in your XAMPP installation directory.
  • Within this file, notice the lines below.

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local

  • Then replace 'Require local' with 'Require all granted'.
  • Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Crave all granted

  • Restart the Apache server using the XAMPP control panel.
Where is the IMAP support for PHP?

As default, the IMAP support for PHP is deactivated in XAMPP due to some mysterious initialization errors with some home versions similar Windows 98. If y'all work with NT systems, you can open up the file "\xampp\php\php.ini" to actuate the php exstension past removing the beginning semicolon at the line ";extension=php_imap.dll". Information technology should exist:
extension=php_imap.dll

Now restart Apache and IMAP should work. You can employ the same steps for every extension, which is non enabled in the default configuration.

Why don't some PHP open source apps work with XAMPP on Windows?

A lot of PHP applications or extensions that have been written for Linux oasis't been ported to Windows.

Tin can I delete the "install" directory after installation?

Information technology's better non to. The scripts here are however needed for all additional packages (add-ons) and upgrades of XAMPP.

How practise I activate the eaccelerator?

Like other (Zend) extensions, you can activate information technology in "php.ini". In this file, enable the line ";zend_extension = "\xampp\php\ext\php_eaccelerator.dll"". Information technology should be:
zend_extension = "\xampp\php\ext\php_eaccelerator.dll"

How exercise I set up a connection error to my MS SQL server?

If the mssql extension was loaded in the php.ini, sometimes problems appear when only TCP/IP is used. Y'all can ready that trouble 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 bundle a newer version of this file with XAMPP.

How exercise I work with the PHP mcrypt extension?

For this, we have opened a topic in the forum with examples and possible solutions: MCrypt topic

Do Microsoft Active Server Pages (ASP) work with XAMPP?

No. And Apache::ASP with the Perl Improver is not the same. Apache::ASP only knows Perl-Script, but ASP from the Internet Information Server (IIS) also knows the normal VBScript. Just for ASP .Cyberspace, at that place is a 3rd party Apache module available.

How can I get XAMPP working on port lxxx under Windows 10?

By default, Windows 10 starts Microsoft IIS on port 80, which is the same default port used by Apache in XAMPP. Every bit a result, Apache cannot bind to port eighty.

To disable IIS from running on port 80, follow these steps:

  • Open up the Services console in Computer Direction.
  • Search for the 'World wide web Publishing Service' and select it.
  • Click the link to 'End the service'.
  • Double-click the service name.
  • In the 'Startup type' field, alter the startup blazon to 'Disabled'.
  • Click 'OK' to relieve your changes.

You lot should at present be able to start Apache in XAMPP on port lxxx.

For more information, refer to the 'Troubleshoot Apache Startup Problems' guide included with XAMPP or this forum post.

How can I utilize Microsoft Edge to access local addresses under Windows 10?

If your local machine has the host name 'myhost', yous volition non exist able to admission URLs such equally http://myhost in Microsoft Edge. To resolve this, you should instead use the addresses http://127.0.0.i or http://localhost.

Where are the chief XAMPP configuration files?

The principal XAMPP configuration files are located equally follows:

  • Apache configuration file: \xampp\apache\conf\httpd.conf, \xampp\apache\conf\actress\httpd-xampp.conf
  • PHP configuration file: \xampp\php\php.ini
  • MySQL configuration file: \xampp\mysql\bin\my.ini
  • FileZilla Server configuration file: \xampp\FileZillaFTP\FileZilla Server.xml
  • Apache Tomcat configuration file: \xampp\tomcat\conf\server.xml
  • Apache Tomcat configuration file: \xampp\sendmail\sendmail.ini
  • Mercury Mail service configuration file: \xampp\MercuryMail\MERCURY.INI

sparkstwithering.blogspot.com

Source: https://www.med.tu.ac.th/dashboard/faq.html

Post a Comment for "The Remote Host or Network May Be Down Please Try the Request Again Xampp"