<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=XAMPP</id>
	<title>XAMPP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=XAMPP"/>
	<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=XAMPP&amp;action=history"/>
	<updated>2026-04-20T02:26:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://docs.uabgrid.uab.edu/w/index.php?title=XAMPP&amp;diff=2204&amp;oldid=prev</id>
		<title>Ppreddy@uab.edu: initial doc for xampp</title>
		<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=XAMPP&amp;diff=2204&amp;oldid=prev"/>
		<updated>2010-12-02T19:54:45Z</updated>

		<summary type="html">&lt;p&gt;initial doc for xampp&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
[http://www.apachefriends.org/en/xampp.html XAMPP] is an open source AMPP (Apache, MySQL, PHP, and Perl) stack from [http://www.apachefriends.org/en/index.html Apache Friends]. XAMPP provides a simple and easy way for developers to create and test web applications based on PHP, Perl, Python etc. XAMPP is only for development activity and not intended for hosting web apps for production use. XAMPP provides the ability to backup development activity to easily migrate to a production stack. Documented here is how to install, secure, and backup XAMPP.&lt;br /&gt;
&lt;br /&gt;
== Install ==&lt;br /&gt;
&lt;br /&gt;
The XAMPP version installed in the following steps will be the [http://www.apachefriends.org/en/xampp-beta.html beta version]. beta version of XAMPP has more recent versions of the core packages (Apache, MySQL, PHP, phpMyAdmin). &lt;br /&gt;
&lt;br /&gt;
NOTE: Early on, it will save a lot of grief, by checking which version is required for each of the PHP/Perl/Python applications to be developed and then choose an XAMPP stable/beta version accordingly for your development. For eg., [http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_XAMPP see this note] on the incompatibility with stable version of XAMPP for mediawiki development. &lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
# [http://www.apachefriends.org/xamppbetazz/xampp-macosx-1.7.4-beta2.dmg Download] xampp beta for mac os x.&lt;br /&gt;
# Install by &lt;br /&gt;
## Opening the DMG-Image.&lt;br /&gt;
## Drag'n'Drop the XAMPP folder into your Applications folder.&lt;br /&gt;
# Open up XAMPP Control to start Apache, MySQL services or can even start from command line with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /Applications/XAMPP/xamppfiles/xampp start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For more command line options, look up&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /Applications/XAMPP/xamppfiles/xampp --help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
== Configure ==&lt;br /&gt;
&lt;br /&gt;
XAMPP requires its services to be started as ''root''. So, make sure you have root privileges to start xampp (should likely change the config of xampp to run as non-root user, later...). &lt;br /&gt;
* Since a developer's main activity/files is usually the user's $HOME, the default xampp's Apache config should be changed to resolve web server access permissions and paths. &lt;br /&gt;
* The default xampp's httpd configuration runs as root initially and then switches to a user ''nobody'' and group ''nogroup''. Replace ''nobody'' and ''nogroup'' to the current user/group details. For eg.,&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /Applications/XAMPP/etc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
open '''httpd.conf''' as ''root'' and add the following changes (replace with your actual user/group settings)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#User nobody&lt;br /&gt;
#Group nogroup&lt;br /&gt;
User pnm&lt;br /&gt;
Group staff&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Secure ==&lt;br /&gt;
&lt;br /&gt;
The default xampp install is not secured for its services ie., mysql, apache etc. Secure xampp by setting passwords for various services. The user names for the different services (which are not easily apparent) are listed here:&lt;br /&gt;
{|border=1&lt;br /&gt;
|- bgcolor=grey&lt;br /&gt;
!xampp service !! username&lt;br /&gt;
|-&lt;br /&gt;
|xampp ui||xampp (mac)&lt;br /&gt;
|-&lt;br /&gt;
|xampp ui||lampp (linux)&lt;br /&gt;
|-&lt;br /&gt;
|mysql||root&lt;br /&gt;
|-&lt;br /&gt;
|mysql||pma&lt;br /&gt;
|-&lt;br /&gt;
|phpmyadmin||pma&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To secure xampp&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /Applications/XAMPP/xamppfiles/xampp security&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
== Backup ==&lt;br /&gt;
&lt;br /&gt;
Backup your xampp config, log and data files with the ''backup'' option. This creates a backup file ie., a shell script. To restore your backup, just run the shell script created as a result of running the backup command. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /Applications/XAMPP/xamppfiles/xampp backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [http://www.apachefriends.org/en/index.html xampp]&lt;br /&gt;
* [http://www-106.ibm.com/developerworks/linux/library/l-xampp/ IBM Developer article on xampp by Nils-Erik Frantzell]&lt;br /&gt;
* [http://www.apachefriends.org/en/faq-xampp-linux.html xampp install faq]&lt;/div&gt;</summary>
		<author><name>Ppreddy@uab.edu</name></author>
	</entry>
</feed>