Professional Documents
Culture Documents
Home
Tutorials
Subscribe
Download ActiveMQ Le Stockage par Dell
Downloa d ActiveMQ w/ Se rvice Pa ck s Fa ites des Sa uvega rde s de vos P C De ll
Fre e Downloads, Docs & Training! a ve c Inte l® Core™ 2010.
Search
Custom Search
One of the fastest and best way to get a PHP server environment up and going is to use XAMPP. What is
XAMPP you say?
Put together by the folks at Apache Friends, XAMPP is an installer package containing the Apache Web
Server, MySQL, PHP and Perl. XAMPP takes away the hassle and headache of installing and configuring
each of the parts individually. But best of all – It FREE!
XAMPP is currently available in 4 distribution packages, but the one this post will cover is XAMPP for
Windows.
XAMPP for Windows is available in standard full edition, or a ‘lite’ version. Since we only need the bare
necessities to get a PHP environment going, we’re just going to focus on installing the XAMPP Lite version
for Windows onto a portable storage device. Frankly, the full edition includes a bunch of stuff you probably
won’t need yet, whilst you’re picking up PHP.
By putting XAMPP onto a portable storage device, like a thumbdrive, or a portable HDD, will make the
whole environment portable. You can take it anyway with you and plug it into any Windows PC/Notebook
and you can carry on where you left off. It’s great for those of you who have more than one PC/Notebook,
which you use regularly.
You can of course, choose to install a XAMPP with the installer version. You can find out how to do it by
following the ‘Installation with Installer‘ guide at the XAMPP website.
askaboutphp.com/…/installing-xampp… 1/12
23/10/2010 Installing XAMPP Lite on a Portable St…
The EXE version is an executable installer which will install XAMPP Lite on your PC/Notebook.
XAMPP will not be portable if you use the EXE version to install.
While XAMPP is downloading, go and prepare your portable storage. In my case, my portable HDD
is identified as F: drive. I intend to put my XAMPP Lite into the F:\ root folder.
askaboutphp.com/…/installing-xampp… 2/12
23/10/2010 Installing XAMPP Lite on a Portable St…
Once downloaded, open the ZIP archive into a folder of your choice on your portable storage device.
In my case, I would just extract to the F:\.
Once extracted, there should be an ‘xampplite’ folder where you have specified as your destination
folder path.
In my case, it would have unpacked into the F:\ and created a ‘xampplite’ folder (F:\xampplite)
askaboutphp.com/…/installing-xampp… 3/12
23/10/2010 Installing XAMPP Lite on a Portable St…
This will configure all the necessary setting and filepaths automatically. Press any key to continue after
that.
askaboutphp.com/…/installing-xampp… 4/12
23/10/2010 Installing XAMPP Lite on a Portable St…
This screen will appear, to show you that Apache and MySQL are running.
Open your browser, and type ‘http://localhost/’ into the address bar.
askaboutphp.com/…/installing-xampp… 5/12
23/10/2010 Installing XAMPP Lite on a Portable St…
To stop XAMPP Lite, double-click the ‘xampp_stop.exe’ file to stop the server running.
Sometimes, you might need to stop and start XAMPP, use the ‘xampp_restart.exe’ if you need to
restart your server. Normally, this is required after configuration changes.
Well, that’s it. Hopefully you managed to successfully get your XAMPP environment going. I’ll post more
articles later on how to use the XAMPP environment.
Related Posts:
19 Responses
Subscribe to comments via RSS
askaboutphp.com/…/installing-xampp… 6/12
23/10/2010 Installing XAMPP Lite on a Portable St…
Permalink
hi, great article, recently I found nice php utility to manage projects hosted on Xampp. This utility can
allow / disallow Apache’s virtual hosts and even manage them. Its called XamppContent and you can
find it here: XamppContent
Cool article, I had always wanted to do this, but wasn’t sure how it would be possible with services
and such; never knew about XAMPP Lite. Only problem is, how can I overcome the fact that every
computer will map the drive to a different letter? My laptop wrote all the directories in the configuration
files as ‘E’, so my other computers couldn’t get them because they saw the drive as ‘F’ or another one
as ‘H’. I feel I will have to make a small program to replace all these letters in the config files…
Hi Michael, what I do is to standardize the drive letters, e.g. i just make sure all the different computers
i work on assign the ‘M:’ drive letter to my maxtor external hdd.
this is probably the easiest approach, just assign the letter you want in “Disk Management” under
“Control Panel -> Administrative Tools -> Computer Management”
I’ve followed your directions on this page for installing xampplite on a portable device but when trying
to start apache I get the following error: ‘Only one usage of each socket address is normally permitted.
: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down.
Unable to open logs.’
What can I do?
Hi Rob
That means that you have another program that is using Port 80 which is clashing with xampp. You can
either modify xampp to run on another port or you can find what is the other program that is using Port
80.
Typically Port 80 is used by web servers. Its highly likely you have Microsoft IIS turned on in your
Windows installation. You can check if this is so by typing “http://localhost/” into your browser to see if
other webserver services are runing on your machine.
Check out this blog on how to change the default port on XAMPP if you prefer to take this route.
http://veerasundar.com/blog/2009/07/how-to-change-xampp-server-port/
You can check out this XAMPP faq for more actions you can take.
http://www.apachefriends.org/en/faq-xampp-windows.html#nostart
Fixed error “Only one usage of each socket address is normally permitted”:
I found i had more than one instance of apache.exe running in memory even though the xampp control
panel showed it was off. I dont run a service unless it doesnt work – ie standalone. Hit ctrl-alt-esc –
under processes tab click image name to order by name, look for any apache.exe programs – end
them all and retry – should sort you out
askaboutphp.com/…/installing-xampp… 8/12
23/10/2010 Installing XAMPP Lite on a Portable St…
when i tried to run the setup file it i get an error message saying that permission was denied. can
anyone help me? here is a screen shot: http://grab.by/pgS
email me at wraithstk@gmail.com
hi Dan
I’ve no idea why you would get permission denied. Are you using Windows Vista? If you are, maybe
you an execute the setup in WinXP mode? Sorry, not much help here.
Well, I give up. I can’t even get the program downloaded. I’ve tried Imapp lite, regular, self-extracting,
and the .zip file. I’ve tried using direct, using mirrors, going straight for the source and I always get the
message that “Firefox has detected that the server is redirecting the request for this address in a way
that will never complete.” I do accept cookies, so don’t understand what the problem is. I even
downloaded an older version from another website, but when I clicked on the zip/exe file I was told
“Error – does not appear to be a valid archive.” What the heck am I doing wrong?
Yes, I have Vista SP2, but since I haven’t even loaded anything yet, figure I’m not dealing with the
next set of problems detailed in the documentation re permissions.
Then I got confused when Apache’s site said “If you choose a root directory “C:\” as target, you must
not start “setup_xampp.bat”. No other websites, including this one, say any such thing. What are we
supposed to use then? Jeez, if I can’t even get this far, I can’t wait until I download Wordpress…
if i want to connect with mysql database what port no. is to be used for localhost?? i tried using default
value:3306, but it’s showing error, it’s not getting connected.. plz help. Thnx in advance.
16. Written by Як встановити XAMPP Lite на флешку | maque.org.ua on June 9, 2010 at 2:50 pm
Permalink
[...] Зроблено на основі допису Installing XAMPP Lite on a Portable Storage device [...]
Thanks
Leave a Reply
askaboutphp.com/…/installing-xampp… 10/12
23/10/2010 Installing XAMPP Lite on a Portable St…
« Previous post
Next post »
Categories
Book Review (5)
News (12)
Pentaho (1)
PHP Tutorials (39)
Website Building/SEO (11)
Tags
Apache Beginners' Guide blogs books cacti cakephp charts codeigniter comment conference crimson
editor errors examples filezilla getting started global warming google google analytics google charts Guides
hosting PHP How-to introduction jquery Microsoft monitoring mysql nofollow open source osspac PHP
PHP 101 php basics phpMyAdmin reviews rrdtool sample codes SEO source code tools
tutorial variables webmasters website XAMPP Lite
Ads by Google
Install
Portable Hard Disk
Install MSI File
Portable HardDrive
Recent Comments
Mark on Codeigniter: Mixing segment-based URL with querystrings
hello on Google Analytics API class for PHP
Condenser Dryer on Why your general email contact is important to your business.
Sublingual Vitamins on Earth Hour 2008 – Make a difference!
Christopher Palmer on Cacti: Ubuntu 8.04 Cacti Plugin – Invalid PHP_SELF Path problem
askaboutphp.com/…/installing-xampp… 11/12
23/10/2010 Installing XAMPP Lite on a Portable St…
Archives
2010 2009 2008 2007
Recent Posts
Codeigniter: Creating dynamic graphs using JQuery and FusionCharts
PHP and jQuery: Submit a form without refreshing the page
Google Analytics officially uses the Asynchronous Tracking tag
PHP Basics: Sorting Arrays
Google Analytics Master Class is back in Singapore!
Code deblocage
pour gsm
Debloquer votre
telephone. La
manipulation est
offerte.
www.antibloca ge .com
X-Ray Fluorescence
XRF
Handheld, high
performance XRF for
Non-destructive
chemic al analysis
www.bruke r-ax s.com /handhe ld
Ordi Portable
(Discount)
Marques d'Ordinateur
Pas Chères Faîtes des
Ec onomies !
fr.e xcite .eu/O rdi-Porta ble
askaboutphp.com/…/installing-xampp… 12/12