- Advertisement -
VPS House Servers
VPS House Servers
VPS House Servers

1. How do I install XAMPP?

Choose your flavor for your linux OS, the 32-bit or 64-bit version.

Change the permissions to the installer

Run the installer

- Advertisement -
VPS House Cloud Servers
VPS House Cloud Servers
VPS House Cloud Servers

That’s all. XAMPP is now installed below the /opt/lampp directory.


2. How do I start XAMPP?

To start XAMPP simply call this command:

You should now see something like this on your screen:

If you get any error messages visit our community pages for help.

Also, note that there is a graphical tool that you can use to manage your servers easily. You can start this tool with the following commands:


3. How do I stop XAMPP?

To stop XAMPP simply call this command:

You should now see something like this on your screen:

If you get any error messages visit our community pages for help.

Also, note that there is a graphical tool that you can use to start/stop your servers easily. You can start this tool with the following commands:


4. How can I test that everything worked?

Now you should see the XAMPP start page containing some links to check the status of the installed software and some small programming examples.

xampp-linux-start-40d83ae7


5. Is XAMPP production ready?

XAMPP is not meant for production use but only for development environments. The way XAMPP is configured is to be open as possible to allow the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

  1. The MySQL administrator (root) has no password.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the password “lampp” for user “daemon”.
  4. PhpMyAdmin is accessible via network.
  5. Examples are accessible via network.

To fix most of the security weaknesses simply call the following command:

It starts a small security check and makes your XAMPP installation secure. For example this protects the XAMPP demo pages by a username (‘lampp’) and password combination.


6. What is the meaning of the error messages I see when starting XAMPP?

You may get several error messages while starting XAMPP:

The LAMPP startup script did not start XAMPP-Apache because there is an Apache instance already running. To start XAMPP properly, first you have to stop this daemon.

Mostly due to the same reasons as the above error, the LAMPP startup script found a MySQL daemon already running on your system. To start LAMPP properly, you have to stop this daemon first.


7. Apache doesn’t seems to start. What can I do?

This error can exist for multiple reasons. Apache displays this error under several circumstances. To find the exact reason we have to do some research:

If you get any error messages visit our community pages for help.


8. What do I do if the error message is “Cannot restore segment prot after reloc: Permission denied?”

Some Linux distributions have SELinux activated by default and this is preventing the successful start of XAMPP. You should disable it in order to start the XAMPP servers:

Now XAMPP should work fine again.


9. After I rebooted my Linux box XAMPP stopped running! How can I fix this?

Correct. That’s normal Linux behaviour (which applies to any other Unix-like system). It’s the admin’s job to make sure a particular application is started at bootup.

There is no real standard way to configure the boot process of a Linux system, but most of them should allow you to start XAMPP at boot time using the following steps.

Debian, Ubuntu.

RedHat, Fedora, CentOS. If your Linux distro uses “chkconfig” tool to install the services you can run the following commands:

SUSE


10. How can I make my XAMPP installation more secure?

In the default installation, XAMPP has no passwords set and it is not recommended to run XAMPP with this configuration accessible by others.

Simply type the following command (as root) to start a simple security check:

Now you should see the following dialog on your screen:

(1) Setting a password will protect the XAMPP demo pages (http://localhost/xampp/) using this password. The user name is ‘lampp’!

After calling this command your XAMPP installation should be more secure.


11. How do I activate eAccelerator?

To activate eAccelerator simply find the following lines in your /opt/lampp/etc/php.ini:

Remove the semicolon at the beginning of each line and restart XAMPP. eAccelerator is now active. For more information about eAccelerator, check the eAccelerator home page: http://eaccelerator.net.


12. How do I activate the OCI8/Oracle extension for PHP?

To activate the OCI8/Oracle extension for PHP please execute the following command:

The following dialog will start:

Now the extension should be active.


13. XAMPP runs, but why are none of the images being displayed?

That’s a special problem with some Linux systems. Please open your /opt/lampp/etc/httpd.conf and look for these two lines:

Remove the # in both lines and restart your Apache. Your images should be back.


14. How do I backup/restore my XAMPP system?

Warning: The backup and restore functionality is still under development and may not work correctly.

You can create the backup by calling:

or

Where “secret” is your MySQL root password. This command will create the following output:

The file /opt/lampp/backup/xampp-backup-22-01-14.sh (in the example above) contains your backup data. Store this file in a safe place.

On the new machine you need the same version of XAMPP as on your original/source machine.

You should see something like this:

That’s all. Keep in mind that it’s a beta feature.

- Advertisement -

There are no comments yet

  • Hello, guest