Top 10 Downloads
  Last 15 New Files
  Web Links
  Last 15 New Tips
  NLM Programming
  Admins Club

SUPLA System
Internet of Things

Installation and Administration

Polish Forum SUSE

Who's Online

 There are currently,
8 guest(s)
that is (are) online.

Technical Information

Back to List of Categories

Technical Information about
  A Little YaST Magic
  A Slideshow for Your KDE Wallpaper
  Add Novell Support to Your Firefox Search Engine
  Adding To The Panels In Gnome.
  Akregator - RSS News Reader
  An Introduction to WBEM and OpenWBEM in SUSE LINUX
  Authenticating SUSE LINUX to eDirectory via LDAP
  Basic Mounting Differences between Windows and Linux
  Beginner's Guide to Using Novell SUSE LINUX's Build Utility
  Browsing Files
  Card Readers on SUSE LINUX 9.2 Professional?
  Changing the Default Browser in Gnome
  Developing Perl CGI scripts on SUSE LINUX
  Do I Have Permission?
  Double SYNC -- Using RSYNC Simultaneously With and Without Branch Office for Data Backup
  Dumb Question: Mounting Linux CDs
  Easy Command-Line Introduction
  Easy Way to Debug SSL Connections
  Enabling an Interactive Startup in Novell/SUSE LINUX
  Exploring MySQL 4.1 and PHP 5 on SUSE LINUX
  Extend Your Panels Using Gnome Drawers.
  Firefox Speed Tip
  Fix Java Errors With ConsoleOne On Linux
  Fix Your Mouse Wheel...
  Gimp -- Closing In on Photoshop...
  Gimp Tips Part 1: Resizing Images
  Gimp Tips Part 2: Rounding Corners
  Gimp Tips Part 3: Fading Photography Edges
  Gimp Tips Part 4: Selective Colorization
  Gimp Tips Part 5: Plugins a Plenty - Adding Light
  Gimp Tips Part 6: Using The Clone Tool
  Google Auto-fill Replica for Linux
  How a Corrupted USB Drive Was Saved by GNU/Linux
  How to Implement Login Scripts into a Pure Linux Environment
  How to install and connect an External Modem on a Linux PC
  How to Install the Novell Client for Linux on SUSE Linux 10.0
  How to launch applications at login in Gnome
  How to Remote Control Linux
  How to setup a Linux application to automatically startup when you login.
  How to share Files and Printers Between Linux and MS Windows with Samba
  How to uninstall the Novell Client for Linux
  How to upgrade the Novell Client for Linux
  How to use SMB without turning off the firewall
  How's the Weather?
  HTML Development Tools in Linux
  Informative Bash Prompt
  Install and Use QEMU on SUSE 9.2
  Install Linux Frequently, Without the Hassle
  Installing Apache, PHP, and MySQL on SUSE LINUX Professional
  Installing RPM Files
  Integrating Novell Linux Desktop into a Novell NetWare network
  Introduction to Oracle 10g R1 ( on SUSE LINUX Professional 9.3
  iPrint Printers on Novell Linux Desktop
  Linux Scheduling Priorities Explained
  Make a Misbehaving Program Quit
  Manually Mounting a USB Flash Drive in Linux
  Migrating To Linux, Advantages Over Windows 9.x And XP
  Minimize Your Maximizing with Multiple Desktops
  Mounting NetWare Volumes On NLD Illustrated
  Move Your /home to Another Computer
  Mozilla Mail Review
  Need a Backup?
  Novell Client Settings with Windows Terminal Server
  Novell Linux Desktop Equivalents of Windows Software - New and Improved
  Novell Linux Desktop System Upgrade How-To
  Partitioning Hard Drive for Linux Install
  Perform Remote SuSE Installations With Virtual Network Computing
  Quick Intro to Klipper
  Quick Shortcuts in The Gimp
  Reset Your Lost Root Password
  Resizing Your Gnome / KDE Panels
  Runlevels in SUSE LINUX
  Running Existing Win32 Applications on SUSE LINUX
  Service Command in /etc/init.d/
  Setting Shortcut Keys
  Setting up a Linux NFS Install Source for Your LAN
  Should I choose Novell Linux Desktop or SUSE LINUX Professional as my desktop?
  Starting Services From the Command Line On SuSE LINUX
  Sticky Notes for Gnome
  SUSE LINUX 9.3 Professional Review
  Sync Up The Taskbar and the Desktop in Gnome
  System Upgrade How-To
  Taking Screenshots in Linux
  The Basics of Messaging in the Cross-Platform GroupWise Client
  The Novell Client for Linux (beta).
  Transparent Panels in Gnome
  Trick Out Your KDE Desktop
  Understanding the YAST Software Module Options
  Updating Your Software with Red Carpet
  Using dsbk on Linux and Unix
  Using iFolder to Synchronize Firefox Bookmarks
  Using Multiple Swap Partitions In 2.4
  Using openSSH to Securely Access Remote Systems
  What FTP client should I use on Linux?
  What Is Logical Volume Management?
  What is so great about Firefox?
  Which Graphic Formats For What?
  Windows Shortcuts for Firefox Tabs on Linux
  Windows to Linux: A Beginner's Guide
  Windows Users Can Feel at Home Exploring Files in Linux
  WLAN interface as the Default
  Work With User Selection Icons In KDM
  YAST Online Update De-Mystified

Technical Information
 Exploring MySQL 4.1 and PHP 5 on SUSE LINUX

Printer-friendly version

Posted: 28 Mar 2005


The Linux gods must have recognized that my dues were paid because they tipped me off to a wonderful project named XAMPP. This project, started by a group called Apache Friends, provides a package of applications[1] that can be downloaded to a directory on your server, run without changing any of the already installed packages, and easily deleted. Sounds just like what the Dr. ordered.

The XAMPP instructions are clear and easy to follow. They also include a few configuration options (like how to start Apache without MySQL and how to switch back and forth between PHP 4 and 5) that I won't cover here. I will touch on a bump or two that I encountered but aren't mentioned in the docs.

quick install

  1. Download the file from http://www.apachefriends.org/en/xampp-linux.html#374
  2. Go to a Linux shell and log in as the system administrator root:
  3. Extract the downloaded archive file to /opt:
    tar xvfz xampp-linux-1.4.12.tar.gz -C /opt
  4. To start XAMPP simply call this command:
    /opt/lampp/lampp start
  5. Test the installation by opening a browser and launching http://localhost
  6. To stop XAMPP simply call this command:
    /opt/lampp/lampp stop
  7. To delete the packages, simply remove the /opt/lampp directory by issuing this command:
    rm -rf /opt/lampp

install for guys like me

  1. Download the file from http://www.apachefriends.org/en/xampp-linux.html#374 (I downloaded to the /opt directory so I wouldn't have to move the files later.)

  2. I used KDE to help me extract the files (Right-click on archive -> Actions -> Extract Here). By the way, the files extract into a directory named "/lampp/" which, according to the Apache Friends site, used to be the project name. It was changed to avoid confusion with other similarly-named projects.

  3. I did go to the command line, er, shell, to type in the start command:

  4. This message reminded me that I was already running Apache and MySQL. I would need to stop those processes before I could play with the newer ones.

  5. To (temporarily) stop my production copy of Apache I, a) launched YAST, b) clicked the system icon in the left pane, c) clicked the Runlevel Editor icon in the right pane, d) in the window that opened, clicked the "Expert Mode" radio button, e) highlighted "apache2" in the scrolling list, f) selected "Disable the service" from the "Set/Reset" dropdown in the lower right corner, g) Selected "Stop now ..." from the "Start/Stop/Refresh" dropdown in the lower left.

  6. I followed similar steps to (temporarily) shut down my production copy of MySQL with the exception of choosing "mysql" in step "e".

  7. This time, when I went to the shell and typed the start command, XAMPP started up as advertised.

  8. When you open a browser and go to http://localhost, you are redirected to the XAMPP main page. A good place to start exploring the features of what you've just installed is to click a language and then click the tool links in the left pane of the target page.

  9. To stop XAMPP simply call this command:
    /opt/lampp/lampp stop
  10. To delete the packages, log in as root, browse to /opt, right-click on the "lampp" directory and select delete from the dropdown.
  11. Don't forget to go back into the Runlevel editor and start up your legacy copies of Apache and MySQL when you're finished.

As you can tell, I'm still pretty new at this. But I'm learning ... and having a lot of fun. If you have suggestions about what I've done or what I should have done, drop me a line.

applications currently included with xampp

  • Apache 2.0.53
  • MySQL 4.1.10
  • PHP 5.0.3 & 4.3.10 & PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support
  • Perl 5.8.6
  • ProFTPD 1.2.10
  • phpMyAdmin 2.6.1
  • OpenSSL 0.9.7d
  • GD 2.0.1
  • Freetype2 2.1.7
  • libjpeg 6b
  • libpng 1.2.7
  • gdbm 1.8.0
  • zlib 1.1.4
  • expat 1.2
  • Sablotron 1.0
  • libxml 2.4.26
  • Ming 0.2a
  • Webalizer 2.01
  • pdf class 009e
  • ncurses 5.8
  • mod_perl 2.0.0-RC4
  • FreeTDS 0.62.4
  • gettext 0.11.5
  • IMAP C-Client 2002b
  • OpenLDAP (client) 2.2.13
  • mcrypt 2.5.7
  • mhash 0.8.18
  • eAccelerator 0.9.2a
  • cURL 7.10.7
  • libxslt 1.1.8
  • phpSQLiteAdmin 0.2
  • libapreq 2.04-dev

Since 2003

Portal posiada akceptację firmy Novell Polska
Wszystkie materiały dotyczące produktów firmy Novell umieszczono za zgodą Novell Polska
Portal has been accepted by the Novell Polska
All materials concerning products of Novell firm are placed with Novell Polska consent.
NetWare is a registered trademark of Novell Inc. in the United States and other countries.
Windows is a trademark or a registered trademark of Microsoft Corporation in the United States and other countries.
Sybase is a registered trademark of Sybase Inc. in the United States of America.
Other company and product names are trademarks or registered trademarks of their respective owners.