XAMPP para Linux y Windows
XAMPP para Linux y Windows
Step 1: Download
Attention: If you download these files on a Windows system and you're running
McAfee virus scanner you may get a false positive virus warning. This is a
problem with McAfee and gzip-compressed files, it should be ignored.
Step 2: Installation
su
Warning: Please use only this command to install XAMPP. DON'T use
any Microsoft Windows tools to extract the archive, it won't work.
Step 3: Start
/opt/lampp/lampp start
Step 4: Test
OK, that was easy but how can you check that everything really works? Just
type in the following URL at your favourite web browser:
http://localhost
Now you should see the start page of XAMPP containing some links to check
the status of the installed software and some small programming examples.
Versión para Windows 98, NT, 2000, XP y Vista. Esta versión contiene: Apache,
MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL,
phpMyAdmin, Webalizer, Mercury Mail Transport System para Win32 y
NetWare Systems v3.32, JpGraph, FileZilla FTP Server, mcrypt,
eAccelerator, SQLite, y WEB-DAV + mod_auth_mysql.
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.
The XAMPP control panel for start/stop Apache, MySQL, FilaZilla & Mercury or
install these server as services
Method B: "Installation" without the Installer
Download and unzip the 7-zip or zip archives into the folder of your choice.
In this case, we unpacked XAMPP to D:\Program Files and will get a D:\Program
Files\XAMPP folder. Next, open the XAMPP folder and run the "setup-xampp.bat" file.
Note: If you work with the Installer version of XAMPP, you do not need to execute
"setup_xampp.bat".
If you extract XAMPP in a top level folder like c:\xampp or d:\xampp etc., you can start
XAMPP directly. That means you do not need to execute the "setup_xampp.bat" at all.
Apache, MySQL and Mercury Mail server will start up correctly! FileZilla FTP server
will not start because it requires absolute paths. Please note: Do not use a double-
xampp-folder like c:\xampp\xampp! You need a single-xampp folder like
d:\xampp(\apache and so on). Otherwise you must run the "setup-xampp.bat" to set up
the path configurations.
For all friends of the console (cmd) here the new build "xampp_cli" by Carsten
Wiedmann.
The universal control center is the XAMPP Control from www.nat32.com which is not
included in the Lite version.
.\xampp\xampp-control.exe
Test: After Apache starts, open the URL http://localhost or http://127.0.0.1 and examine
all of the XAMPP examples and tools.
Practice 2: Installing a particular server as a service
You can install some servers as a service under these platforms: NT4, 2000/2003, XP
and (sometimes) Vista. Therefore you can use one of these scripts:
Many additional addons exist for the development with the main package. At the
moment, the official addons for win32 from this side are:
Perl Addon with Mod_Perl and a selection important Perl Modules
Tomcat Addon (Requirement: SUN J2SE SDK must already be installed)
Cocoon for Tomcat Addon (Requirement: Tomcat Addon must already be
installed)
Python Addon
The recommended rule for the installation is this: The XAMPP Installer version needs
the Installer Addon, the ZIP (7-Zip) package needs the ZIP (7-Zip) Addon. For the ZIP
Addon please unpack the package into the XAMPP main directory directly. Afterwards
execute the "setup_xampp.bat". That's all. Installer Addon package makes everything
automatically. There is nothing to do.
Note: Everyone can build a new XAMPP Addon for his project. For example you will
find some other addons for XAMPP at http://sourceforge.net/projects/xamppaddon.
When individual components of the XAMPP collection are upgraded, we will bring
XAMPP up to date as well. However, some developments are not compatible to our last
release and so we cannot upgrade these elements. Usually we are able to update all
servers and programms in XAMPP. NOT the configuration files because you could have
modified them. Tip: If you have the installer version it is much easier to use the installer
upgrade. All others should take the (7-)ZIP archive. Extract that package in the XAMPP
folder directly and overwrite the older files.
As mentioned before, XAMPP is not meant for production use but only for developers
in a development environment. XAMPP is configured is to be as open as possible and to
allow the web developer anything he/she wants. For development environments this is
great but in a production environment it could be fatal.
To fix the most important of the security weaknesses simply call the following URL
(access only from localhost):
The root password for MySQL, PhpMyAdmin, and also a XAMPP directory protection
can be established here. For Mercury and FileZilla, please remember to change the
configuration settings (e.g. user and passwords). Or if you do not need any of these
servers, simply do not start them -- That is secure, too.
If you installed with 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.
Shut down the XAMPP server and exit all panels. If you installed any services, shut
them down too.
To uninstall XAMPP that was installed from ZIP packages, simply delete the entire
folder where XAMPP is installed. There are no registry entries and no environment
variables to clean up... just simply good, clean code! Don't forget to uninstall any
services you might have installed.
The main folder for all WWW documents is at \xampp\htdocs. If you put a test.html file
here you can browse for it at http://localhost/test.html (if Apache server is running). Use
the same procedure with all PHP or cgi files. You can create subfolders for your content
too. For example, create the folder \xampp\htdocs\new and copy your test.html file
there. Then enter the URL http://localhost/new/test.html to view this in your browser.
Yes, but only if you installed it using the ZIP (z-zip) archive method. After moving the
XAMPP package, you must execute the "setup-xampp.bat" to update all configuration
files. In this case you can make a copy of XAMPP and put this in a directory
somewhere. At last execute the "setup-xampp" and make your tests. Try it out.
If you installed with the Installer, then you must completely uninstall XAMPP and
reinstall it at the new location. This is the only way to ensure that all changes made to
the registry are cleaned up, and updated for the new location.
Question 4: How can I generate "automatic start sites" or default start pages?
If you browse to a folder like http://localhost/xampp/ the Apache server will return a
start site automatically. The Apache server looks for a start page for your site, such as
index.html or index.php. This is configurable from the "DirectoryIndex" directive in the
httpd.conf file. Here you can define the names and the arrangement for your start sites.
Question 5: How can I switch between PHP5 and PHP4 and back?
XAMPP (not Lite!) contains both PHP5 and PHP4. To switch between the versions
please use the "php-switch.bat" ($path-to-xampp\xampp\php-switch.bat). NOTE: The
Apache server must be stopped before you make these changes.
You adjust XAMPP settings with plain-text configuration files. The following files
exist:
Apache basic configuration: .\xampp\apache\conf\httpd.conf
Apache SSL: .\xampp\apache\conf\ssl.conf
Apache Perl (only addon): .\xampp\apache\conf\perl.conf
Apache Tomcat (only addon): .\xampp\apache\conf\java.conf
Apache Python (only addon): .\xampp\apache\conf\python.conf
PHP: .\xampp\php\php.ini
MySQL: .\xampp\mysql\bin\my.ini
phpMyAdmin: .\xampp\phpMyAdmin\config.inc.php
FileZilla FTP: .\xampp\FileZillaFTP\FileZilla Server.xml
Mercury Mail basic configuration: .\xampp\MercuryMail\MERCURY.INI
Sendmail: .\xampp\sendmail\sendmail.ini
No! You can work "offline" with XAMPP. In other words, you do NOT have to be
connected to the Internet, because your own computer will provide all the hosting and
serving features.