-
Notifications
You must be signed in to change notification settings - Fork 6
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
You can start the server in the following ways:
-
By opening a terminal and navigating to bin folder, run the command :
c:\app\bin> bbserver start -
By launching the terminal and doing bbserver start or bbstart
-
Using the bbcpanel to start the server
You can stop the server in the following ways:
-
By opening a terminal and navigating to bin folder, run the command :
c:\app\bin> bbserver stop -
By launching the terminal and doing bbserver stop or bbstop
-
Using the bbcpanel to stop the server
You can restart the server in the following ways:
-
By opening a terminal and navigating to bin folder, run the command :
c:\app\bin> bbserver restart -
By launching the terminal and doing bbserver restart or bbrestart
-
Using the bbcpanel to restart the server
You can check the server status in the following ways:
-
By opening a terminal and navigating to bin folder, run the command :
c:\app\bin> bbserver status -
By launching the terminal and doing bbserver status or bbstatus
-
Using the bbcpanel to status the server
The server is basically running Apache and MySQL as a service.
To troubleshoot you can do the following:
-
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.
-
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.
-
You can try restarting the server by using any of the means above e.g. bbrestart
-
Check if the php is working properly: you can try running on the terminal command like: php --version, php -m
-
Check if Apache is working properly: you can run apache commands on the terminal e.g. httpd -t, httpd -M
-
Check if mysql is working properly: you can run commands like mysql -u root on the terminal.