Select your language

Configuration

  • How do we add more modules or versions?

    • Binaries are the main factor of Bearsampp. Some require to be run as a service like Apache and others are used on demand like Node.js.
    • Applications are third-party utilities used by some binaries like phpMyAdmin used by PHP and MySQL / MariaDB. Each application has its own Apache alias (see bearsampp\alias folder).
    • Tools are useful utilities to make Bearsampp better and enhance your developments.
    • Highlight is an archived module

    Modules

    Name Type Description
    Adminer application a full-featured database management tool written in PHP.
    Apache binary the world’s most used web server software.
    Bruno tool Bruno IDE.
    Composer tool a dependency manager for PHP.
    ConsoleZ tool modified version of Console 2 for a better experience.
    Ghostscript tool an interpreter for the PostScript language and for PDF.
    Git tool a widely used version control system for software development.
    Mailpit binary a Web and API based SMTP testing.
    MariaDB binary a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL.
    Memcached binary a distributed memory object caching system.
    MySQL binary an open-source relational database management system.
    Ngrok tool an Ngrok is a globally distributed reverse proxy
    Node.js binary an open-source, cross-platform runtime environment for developing server-side web applications.
    Perl tool a family of high-level, general-purpose, interpreted, dynamic programming languages.
    PHP binary a server-side scripting language designed for web development including PEAR and extra extensions.
    phpMyAdmin application handle the administration of MySQL and MariaDB over the Web.
    phpPgAdmin application a web-based administration tool for PostgreSQL.
    PostgreSQL binary an object-relational database management system (ORDBMS).
    Python tool a widely used high-level, general-purpose, interpreted, dynamic programming language.
    Ruby tool a dynamic, reflective, object-oriented, general-purpose programming language.
    Xlight binary a FTP server application.

    Typical installation

    To install a new version of an application you have to :
    • Download and install Bearsampp.
    • If you already have started Bearsampp, stop it.
    • Download a module of your choice (like Apache).
      We offer a service called QuickPick that allows you to simply select the module from a dropdown on localhost
    • Use a file archiver that supports 7z format like 7zip and extract the archive in bearsampp{bin|apps|tools}{name}\ :

    For binaries

    • Start Bearsampp
    • Switch your binary to the downloaded version (Left click > {name} > Versions)

    Otherwise,

    • Edit the bearsampp.conf file and replace the key {name}Version with the correct version.
    • Start Bearsampp
  • How do you change import file size limit in phpMyAdmin

    The changes have to be done in the alias configuration in alias\phpmyadmin.conf :

    <Directory "C:/neard/apps/phpmyadmin/phpmyadmin4p3/4.4.15.6/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        # START switchOnline tag - Do not replace!
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1 ::1
        # END switchOnline tag - Do not replace!
        
        <IfModule php5_module>
            php_admin_value upload_max_filesize 128M
            php_admin_value post_max_size 128M
            php_admin_value max_execution_time 360
            php_admin_value max_input_time 360
        </IfModule>
        <IfModule php7_module>
            php_admin_value upload_max_filesize 128M
            php_admin_value post_max_size 128M
            php_admin_value max_execution_time 360
            php_admin_value max_input_time 360
        </IfModule>
    </Directory>
    
  • How do you upgrade from a previous release?

    Bearsampp is a portable application therefore there is nothing to install except the prerequisites package.  This provides the various Microsoft code librariesthat are used.  If you already have them installed, and its possible you already do,  they will not be installed again.

    For each release there are "Upgrade notes" provided to guide you on how to upgrade.

  • How to disable some services to launch on startup?

    There are two ways to disable some services to launch on startup.

    First you can edit the bearsampp.conf file and change the value to 0 for keys ending with enable = "1" below BINS.
    Example: mysqlEnable = "0"

    Or you can go to the Bearsampp menu.
    Example: Bearsampp tray menu then Mysql then Enable / Disable

  • How to prevent Skype conflict of port 80 and 443

    To turn off and disable Skype usage of and listening on port 80 and port 443, open the Skype window, then click on the Tools menu and select Options. Click on the Advanced tab, and go to the Connection sub-tab. Untick or uncheck the checkbox for Use port 80 and 443 as an alternative for additional incoming connections option. Click on the Save button and then restart Skype to make the change effective.

  • How to stop IIS conflict port 80 and 443

    Open a CMD prompt (as Admin) and type
    iisreset /stop

    After the modifications have been made, restart Bearsampp for the changes to take effect.

    Or you can change the port number of IIS by following the official Microsoft documentation.

  • How to use MySQL and MariaDB simultaneously with PHP?

    By default MySQL is started on port 3306 and MariaDB on port 3307.
    Here is an example using PDO to access a database named wordpress installed on MySQL and MariaDB :

    $mysql = new PDO('mysql:host=127.0.0.1;port=3306;dbname=wordpress', 'root', '');
    $mysqlStmt = $mysql->query("SELECT * FROM wp_comments");
    var_dump($mysqlStmt->fetchAll(PDO::FETCH_ASSOC));
    
    $mariadb = new PDO('mysql:host=127.0.0.1;port=3307;dbname=wordpress', 'root', '');
    $mariadbStmt = $mariadb->query("SELECT * FROM wp_comments");
    var_dump($mariadbStmt->fetchAll(PDO::FETCH_ASSOC));
    
  • NET::ERR_CERT_AUTHORITY_INVALID

    Since Chrome 58, self-signed certificates generated with Bearsampp are no longer accepted and you will have the error NET::ERR_CERT_AUTHORITY_INVALID if you go to https://localhost.  To resolve this you can add the .crt files to the local trusted certificate store using the steps below.

    • First go to the ssl folder of bearsampp and locate the .crt file then right click on the .crt file and select "Install certificate"
    •  Next choose "local machine"
    • Next choose "Place all certificates in the following store" and then select "Trusted Root Certificate Authorities"
    • Now choose "finish"
    • Repeats for each .crt
    • Close and reopen the browser
  • Ruby : MSYS2 could not be found

    Since Ruby 2.4, RubyInstaller is based on MSYS2 toolchain. If you want to compile C based ruby gems, you will have to download and install all necessary MSYS2 build tools by typing the command ridk install used by the official installer.

  • What is the default password for root user on MySQL / MariaDB?

    By default, the user is "root" with no password

  • What is the default user / password on PostgreSQL?

    The user is postgres and there is no password for this user.

Features

Portable

Bearsampp is a portable application and therefore ideally suited to bring all your development across different computers.

Time Saver

One place to download the latest release and modules for your binaries, tools and applications.                                                 

Easily Switch

Easily switch between different versions of your modules.                                                                                                                     

Effective Homepage

An effective homepage gathering all the information you need is available at http://localhost or https://localhost.

Nice Console

A nice console is available to execute your commands and open the shell you need                                                                                           

Our Supporters

Sorry, this website uses features that your browser doesn’t support. Upgrade to a newer version of Firefox, Chrome, Safari, or Edge and you’ll be all set.

Knowledge Base Chat
Hello! I'm your AI assistant. Ask me anything about our knowledge base and I'll help you find the information you need.