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

1. How do I do install XAMPP for Mac OS X?

To install XAMPP just do the following:

  • Open the DMG-Image.
  • Double-click on the image to start the installation process.

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


2. How do I start XAMPP?

To start XAMPP simply open XAMPP Control and start Apache, MySQL and ProFTPD. The name of the XAMPP Control is “manager-osx”.


3. How do I stop XAMPP?

To stop XAMPP simply open XAMPP Control and stop the servers. The name of the XAMPP Control is “manager-osx”.


4. How can I test that everything worked?

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

Type in the following URL in a web browser:

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-macosx-start-8cb11650


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.

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

It will kick off a a small security check to make the XAMPP installation secure.


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.

This is 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. 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.


9. 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.


10. 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 /Applications/XAMPP/xamppfiles/backup/xampp-backup-22-01-14.sh (in the example above) contains your backuped data. Get this file to a save 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