Xampp для windows server 2012 r2

What is XAMPP

XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes.

XAMPP Installation

Download your XAMPP installation here. After installation start the XAMPP Control panel (right click on tray icon for XAMPP and choose show/hide).

XAMPP Control Panel

Start the Apache and MySQL service. PID(s) and Port(s) should show a number now indicating the services are listening at the ports shown.

Apache

After installation navigate to http://localhost . If Apache is started the XAMPP dashboard is shown in your browser.

MySQL (MariaDB)

To check if MySQL is up and running choose the phpMyAdmin link on the dashboard; if everything is ok the phpMyAdmin dashboard shows up. First thing todo is change your root password for the MySQL instance. Change directory to c:\xampp\mysql\bin and execute the command:

mysqladmin.exe –user=root password “<newpwd>”

To change the MySQL password execute the command:

mysqladmin.exe –user=root –password=<oldpwd> password newpwd

Now phpMyAdmin will stop working because you just changed the root password. To solve this open the phpMyadmin configuration file at c:\xampp\phpMyAdmin\config.inc.php . Change the blowfish_secret to some random value not being xampp. Next set a value of “cookie” for auth_type. Next time you navigate to the phpMyadmin site phpMyAdmin will ask for a username and password.

Setup your first Apache web-site

If both Apache and MySQL are running you can go ahead and setup your first site. In XAMPP sites are stored at c:\xampp\htdocs . Create a directory called xamp.test.tld . Inside this directroy create a document index.php with the following contents:

<?php
phpinfo();

Ok; now on to the Apache configuration. Open the file c:\xampp\apache\conf\extra\httpd-vhosts.conf  and add the following text to the bottom of this file:

<VirtualHost *:80> 
DocumentRoot C:/xampp/htdocs/ 
ServerName localhost 
</VirtualHost> 

<VirtualHost *:80>
   DocumentRoot C:/xampp/htdocs/xampp.test.tld
   ServerName xampp.test.tld
   <Directory "C:/xampp/htdocs/xampp.test.tld">
      Require all granted
      AllowOverride All
   </Directory>
</VirtualHost>

The first virtualhost is the primary or default virtualhost. Hosts that have an unknown ServerName (ie there is no virtualhost definition with this ServerName attribute) are served from this virtual host. In out setup this is also localhost.

That’s all for the Apache configuration. One more thing left to configure and that is the windows host file at c:\windows\system32\drivers\etc\hosts . Add the following line to this file:

127.0.0.1   xampp.test.tld

Your configuration is now complete. Restart your apache server and send your browser to http://xamp.test.tld . The phpinfo page should appear.

Create SSL Website

Open SSL

For a site to use SSL we have to create a certificate first which has to be referenced in our Apache virtual host definition. To create your own certificates check this great tutorial. It will guide you step by step through creating a root CA, intermediate CA, certificates and revocation lists. For future reference a short transcript can be found here.

The root certificate you create has to be installed in the Trusted root user certificate store.

After you have create and installed the root CA you can start using the new certificates in your Apache configuration. Lets create a new SSL website for  xampp.test.tld . Open the file c:\xampp\apache\conf\extra\httpd-vhosts.conf  and add the following lines to the end of this file:

<VirtualHost *:443>
DocumentRoot C:/xampp/htdocs/xampp.test.tld
ServerName xampp.test.tld
SSLEngine on
SSLCertificateFile "conf/mycerts/ca/intermediate/certs/xampp.test.tld.cert.pem"
SSLCertificateKeyFile "conf/mycerts/ca/intermediate/private/xampp.test.tld.key.pem"
SSLCertificateChainFile "conf/mycerts/ca/intermediate/certs/ca-chain.cert.pem"
</VirtualHost>

This virtual host defines the SSL site. As you can see there are references to the certificates you created before with OpenSSL.

Now send your browser to https://xampp.test.tld  (mind the s in https) and you should see the PHP information page.

Skip to content

XAMPP is a program that makes having a local web server simple. With XAMPP you can easily handle a web server (Apache) plus MySQL. Here is how to install and configure XAMPP on a Windows Server 2012r2 from Vultr.

Connect to your server using the RDP program and go to this link to get XAMPP 7.4.2 which is a stable version packaged with PHP 7.4.2.

Once downloaded go through the install steps, when it asks for what modules to install only choose Apache, MYSQL and phpMyAdmin you don’t need anything else for a basic webserver. If it asks to install Bitnami click no.

It will take a few moments to install, start it up choose language either English or German. Once the XAMPP control panel is open click start on Apache.

We may need to unblock a port for Apache to work so search for “firewall” and open up “Windows firewall with advanced security”. Create a new inbound rule for TCP, port 80 and just call it Apache.

Now navigate to C:\xampp\htdocs delete everything and create a simple index.php with the following code in it:

<?php
echo "Hello!";

Now back onto your computer or laptops web browser type in your servers IP and if it simply displays a page that says “Hello!” well done! If it keeps loading and nothing shows it may be a port issue, you will need to check what ports Apache is using in the XAMPP control panel.

As default the root directory for Apache is C:\xampp\htdocs.

https://store-images.s-microsoft.com/image/apps.39362.ae7a66dd-092b-44b0-be6f-20525a804b8c.10746aaa-3cae-4b9d-a052-14fe6ed87e1d.aeb77534-8042-4aa0-a075-0cc4e4880a25

XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl.

XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl.

The XAMPP open source package has been set up to be incredibly easy to install and to use.

Ports:
🗸 Windows RDP : 3389 TCP
🗸 HTTP : 80
🗸 HTTPS : 443

Features:

🗸 XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl.
🗸 It also comes with a number of other modules including OpenSSL, phpMyAdmin, MediaWiki, Joomla, WordPress and more.
🗸 Self-contained, multiple instances of XAMPP can exist on a single computer, and any given instance can be copied from one computer to another
🗸 XAMPP is offered in both a full and a standard version (Smaller version)

Disclaimer : This Virtual machine offer contains free and open source software. All the softwares, trademarks used in the Virtual machine offer are the exclusive property of respective owners. Askforcloud LLC does not offer commercial license of the product mentioned above.

Note :

🗸 XAMPP and Apache Friends are registered trademarks of BitRock
🗸 XAMPP is a compilation of free software, it’s free of charge and it’s free to copy under the terms of the GNU General Public Licence. But it is only the compilation of XAMPP that is published under GPL.

XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It’s that easy.
Installers created using InstallBuilder.

  • XAMPP for Windows 8.0.30, 8.1.25 & 8.2.12

    Version Checksum Size
    8.0.30 / PHP 8.0.30 What’s Included?
    • md5
    • sha1
    Download (64 bit) 144 Mb
    8.1.25 / PHP 8.1.25 What’s Included?
    • md5
    • sha1
    Download (64 bit) 148 Mb
    8.2.12 / PHP 8.2.12 What’s Included?
    • md5
    • sha1
    Download (64 bit) 149 Mb
    • Requirements
    • More Downloads »

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.0.30, phpMyAdmin 5.2.1, OpenSSL 3.1.3, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 8.5.96 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.1.1 Portable

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.1.25, phpMyAdmin 5.2.1, OpenSSL 3.1.3, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 8.5.96 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.1.1 Portable

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.2.12, phpMyAdmin 5.2.1, OpenSSL 3.1.3, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 8.5.96 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.1.1 Portable

    Windows 2008, 2012, Vista, 7, 8 (Important: XP or 2003 not supported)

    Windows XP or 2003 are not supported. You can download a compatible version of XAMPP for these platforms here.

  • XAMPP for Browsers & 8.3.12

    Version Checksum Size
    8.3.12 / PHP 8.3.12 What’s Included?
    • md5
    • sha1
    Run in the browser
    • Requirements
    • More Downloads »

    Includes: Alpine Linux 3.20, Apache 2.4.62, MariaDB 10.11-8, PHP 8.3.12 & PEAR + multibyte (mbstring) support, Perl 5.38.2, phpMyAdmin 5.2.1

    Tested on Desktop versions of Chrome and derivatives

  • XAMPP for Linux 8.0.30, 8.1.25 & 8.2.12

    Version Checksum Size
    8.0.30 / PHP 8.0.30 What’s Included?
    • md5
    • sha1
    Download (64 bit) 151 Mb
    8.1.25 / PHP 8.1.25 What’s Included?
    • md5
    • sha1
    Download (64 bit) 153 Mb
    8.2.12 / PHP 8.2.12 What’s Included?
    • md5
    • sha1
    Download (64 bit) 151 Mb
    • Requirements
    • More Downloads »

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.0.30 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1w, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.1.25 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1w, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Includes: Apache 2.4.58, MariaDB 10.4.32, PHP 8.2.4 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1w, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Most all distributions of Linux are supported, including Debian, RedHat, CentOS, Ubuntu, Fedora, Gentoo, Arch, SUSE.

  • XAMPP for OS X 8.0.28, 8.1.17 & 8.2.4

    Version Checksum Size
    8.0.28 / PHP 8.0.28 What’s Included?
    • md5
    • sha1
    Download (64 bit) 150 Mb
    8.1.17 / PHP 8.1.17 What’s Included?
    • md5
    • sha1
    Download (64 bit) 151 Mb
    8.2.4 / PHP 8.2.4 What’s Included?
    • md5
    • sha1
    Download (64 bit) 150 Mb
    • Requirements
    • More Downloads »

    Includes: Apache 2.4.56, MariaDB 10.4.28, PHP 8.0.28 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1t, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Includes: Apache 2.4.56, MariaDB 10.4.28, PHP 8.1.17 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1t, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Includes: Apache 2.4.56, MariaDB 10.4.28, PHP 8.2.4 & PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support, Perl 5.34.1, ProFTPD 1.3.6, phpMyAdmin 5.2.1, OpenSSL 1.1.1t, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.12, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4

    Mac OS X 10.6 or later. For VMs: Mac OS X 10.6 or later and intel (x64) CPU; not supported on M1 (arm64) CPUs.

    A Native installer installs MariaDB, PHP, Perl, etc. directly onto your macOS system. It supports intel (x64) or Apple M1 (arm64) CPUs.

  • XAMPP for Windows 8.0.30, 8.1.25 & 8.2.12

    Version Checksum Size
    8.0.30 / PHP 8.0.30 md5 , sha1 Download (64 bit) 144 Mb
    8.1.25 / PHP 8.1.25 md5 , sha1 Download (64 bit) 148 Mb
    8.2.12 / PHP 8.2.12 md5 , sha1 Download (64 bit) 149 Mb

    XAMPP for Browsers & 8.3.12

    Version Checksum Size
    8.3.12 / PHP 8.3.12 md5 , sha1 Run in the browser —

    XAMPP for Linux 8.0.30, 8.1.25 & 8.2.12

    Version Checksum Size
    8.0.30 / PHP 8.0.30 md5 , sha1 Download (64 bit) 151 Mb
    8.1.25 / PHP 8.1.25 md5 , sha1 Download (64 bit) 153 Mb
    8.2.12 / PHP 8.2.12 md5 , sha1 Download (64 bit) 151 Mb

    XAMPP for OS X 8.0.28, 8.1.17 & 8.2.4

    Version Checksum Size
    8.0.28 / PHP 8.0.28 md5 , sha1 Download (64 bit) 150 Mb
    8.1.17 / PHP 8.1.17 md5 , sha1 Download (64 bit) 151 Mb
    8.2.4 / PHP 8.2.4 md5 , sha1 Download (64 bit) 150 Mb

    Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии
  • Текстовый редактор в терминале windows
  • Удалить все приложения windows store
  • Windows не пингует linux
  • Что такое резервное копирование windows 10
  • Ошибка 1083 центр обновления windows