Mambo Open Source (MOS) is a content management system written in PHP and uses the MySQL database.

Mambo is made available under the terms of the GNU General Public License. The official Mambo site is located at:

The latest Mambo version can be downloaded from:

Installing Mambo 4.5.1a

The total size of Mambo after a basic installation is 4.1 MB for the files and 413 KB for the database.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Apache 1.3 or higher.
MySQL 3.23.55 or higher.
PHP 4.2.1 or higher.

  1. Download MamboV4.5.1a-Stable.tar.gz and unzip it into the docroot of your site or a subdirectory, e.g.: c:\mobilefish_mambo

    In this guide Mambo is installed in the docroot.

  2. Add the following lines at the end of the Apache httpd.conf file and restart Apache.
    View a (not updated) httpd.conf file.

       DocumentRoot c:/mobilefish_mambo
       ErrorLog logs/
       #TransferLog logs/
       CustomLog "|c:/weblogs/rotatelogs.exe c:/weblogs/
       86400" combined
       <Directory "c:/mobilefish_mambo">
           Options +Includes
           AddType text/html shtm
           AddOutputFilter Includes shtm

  3. If you do not have a DNS server, you can modify file:
    Add the following lines:

    And disable Proxyserver in IE browser setting:
    Extra | Internet-options | Connections | LAN-settings |

  4. To check if Mambo is installed correctly, type:
    You should see a pre-installation check page:

    Mambo pre-install check.

    Make sure no items are highlighted in red on this page. Solve the problem(s) first before you press the Next button.

  5. Read and accept the GPL License and press Next button.

    Mambo license.

  6. Enter the MySQL database settings for Mambo, e.g.:

    Hostname: localhost
    MySQL User Name: root
    MySQL Password: mysecret
    MySQL Database Name: mambo
    MySQL Table Prefix: mos_
    Drop Existing Table: disable
    Backup Table?: enable
    Install Sample Data?: disable

    Mambo database setup.

    Press Next button.

  7. Enter the name of your site, e.g.: - The web and midlets developers resource.

    Mambo enter site title.

    Press Next button.

  8. Set your site URL, absolute path and admin email e.g.:

    Path: C:\mobilefish_mambo
    Email: [email protected]
    Admin password: mambosecret

    Mambo set site url, path, email.

    Press Next button.

  9. Mambo is now installed.

    Mambo congratulations.

  10. If the View Site button is pressed you will see the following page:

    Mambo remove installation directory.

    Remove the c:\mobilefish_mambo\installation directory and reload the page, you will be redirected to the front page (

    Mambo front page.

    If the Administration button is pressed you will be redirected to the admin page (

    Mambo admin page.

  11. Before you start entering data in the database first check if you can backup and restore your database! There are several methods but this is the method i use:

    Create backup:
    mysqldump --allow-keywords --opt -u[username] -p[password] [database] > [backup_file]

    For example:
    mysqldump --allow-keywords --opt -uroot -pmysecret mambo > mambo_backup_24092004.sql

    Restore backup:
    mysql -u[username] -p[password] [database] < [backup_file]

    For example:
    mysql -uroot -pmysecret mambo < mambo_backup_24092004.sql

    Allow creation of column names that are keywords. This works by prefixing each column name with the table name.

    If you do not add this option you will get the following error message when you restore the mambo database:

    ERROR 1064 at line 142: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' option varchar(50) NOT NULL default '', ordering int(11) NOT

    This option is shorthand; it is the same as specifying --add-drop-table --add-locks --create-options --disable-keys --extended-insert --lock-tables --quick --set-charset. It should give you a fast dump operation and produce a dump file that can be reloaded into a MySQL server quickly.