Skip to content

Bbserver

dhtml edited this page Apr 9, 2023 · 1 revision

Working with BBServer

All previous versions of PHPBrowserbox before 6.0 have this server incorporated into them. But v6.0 has now made this server a separate application.

This is basically the web server equivalent of WAMP, XAMPP and other LAMP servers. This is what runs behind the scene to allow you run the php/mysql applications, phpmyadmin e.t.c

This server is started in the background whenever you start phpbrowserbox.

Table of Contents

  1. Starting Bbserver

  2. Stopping Bbserver

  3. Restarting Bbserver

  4. Server Status Check

  5. Troubleshooting Server

1. Starting Bbserver

You can start the server in the following ways:

  1. By opening a terminal and navigating to bin folder, run the command :
    c:\app\bin> bbserver start

  2. By launching the terminal and doing bbserver start or bbstart

  3. Using the bbcpanel to start the server

2. Stopping Bbserver

You can stop the server in the following ways:

  1. By opening a terminal and navigating to bin folder, run the command :
    c:\app\bin> bbserver stop

  2. By launching the terminal and doing bbserver stop or bbstop

  3. Using the bbcpanel to stop the server

3. Restarting Bbserver

You can restart the server in the following ways:

  1. By opening a terminal and navigating to bin folder, run the command :
    c:\app\bin> bbserver restart

  2. By launching the terminal and doing bbserver restart or bbrestart

  3. Using the bbcpanel to restart the server

4. Server Status Check

You can check the server status in the following ways:

  1. By opening a terminal and navigating to bin folder, run the command :
    c:\app\bin> bbserver status

  2. By launching the terminal and doing bbserver status or bbstatus

  3. Using the bbcpanel to status the server

5. Troubleshooting Server

The server is basically running Apache and MySQL as a service.

To troubleshoot you can do the following:

  1. Services check : from any terminal including the BBconsole, run the command services.msc this will launch Services checker. The webserver service name varies but should be something like BB_HTTPD_SERVICE611227314. That of MySQL should be something like BB_MYSQLD_SERVICE611227314.

  2. Check the actual service names by using the special Bbconsole command bbset to show you the current environment variables. This will help you in step 1.

  3. You can try restarting the server by using any of the means above e.g. bbrestart

  4. Check if the php is working properly: you can try running on the terminal command like: php --version, php -m

  5. Check if Apache is working properly: you can run apache commands on the terminal e.g. httpd -t, httpd -M

  6. Check if mysql is working properly: you can run commands like mysql -u root on the terminal.

Clone this wiki locally