Bearsampp won't start — Administrator Rights Required
Bearsampp won't start — Administrator Rights Required
Bearsampp needs to install and manage Windows services, which requires elevated permissions.How to fix:
- Close any open instance of Bearsampp.
- Find
bearsampp.exein your Bearsampp folder. - Right-click
bearsampp.exeand select Run as administrator. - Click Yes when Windows asks for confirmation.
A service failed to start
A service failed to start
When Apache, MySQL, MariaDB, or another service cannot start, Bearsampp shows a startup error dialog. The most common cause is a port conflict — another application is already listening on the port that service needs.How to diagnose:
- Right-click the Bearsampp tray icon.
- Go to [module name] → Error logs to read the most recent error output.
- Look for lines mentioning a port number or “Address already in use”.
Apache configuration file not found
Apache configuration file not found
Bearsampp shows a “configuration file not found” error when it cannot locate the Apache configuration file in the expected path. The module folder may be incomplete or corrupted.How to fix:
- Stop all Bearsampp services from the tray menu.
- Delete the affected Apache module folder (e.g.,
bearsampp/bin/apache/apache2.4.x/). - Re-extract that module from the original Bearsampp archive, or download a fresh copy from bearsampp.com.
- Restart Bearsampp.
Executable not found
Executable not found
A “executable file not found” error means the binary for a module (e.g.,
apache.exe, php.exe) is missing from its expected location.How to fix:- Identify which module is affected from the error message.
- Check that the module folder exists under
bearsampp/bin/and is not empty. - If the folder is missing or incomplete, download the correct module version from bearsampp.com/module and re-extract it.
PHP and Apache incompatibility
PHP and Apache incompatibility
Bearsampp shows a compatibility warning when the selected Apache version and PHP version are not compatible with each other. Not all combinations work together.How to fix:
- Right-click the tray icon and go to Apache → Versions to see which Apache version is active.
- Go to PHP → Versions and switch to a PHP version that is compatible with your Apache version.
- As a general rule, use PHP versions that were released during the same period as your Apache version.
The Bearsampp release notes list supported PHP/Apache combinations for each release. Check the changelog if you are unsure which versions work together.
Port already in use
Port already in use
A “port is used by another application” message means another application on your system is already bound to the port Bearsampp needs. The service cannot start until the port is free.How to fix:
- Right-click the tray icon and go to [module name] → Change port.
- Enter a new, unused port number (e.g.,
8080instead of80). - Click Finish.
- Restart the service.
You are already on version X
You are already on version X
This message appears when you try to switch to a module version that is already the active version. Bearsampp prevents a redundant switch.What to do: No action is needed. The version you selected is already running. If you intended to switch to a different version, go back to the version list and select a different one.
Virtual host already exists
Virtual host already exists
If you try to create a virtual host with a server name that is already configured, Bearsampp shows a “virtual host already exists” error.How to fix:
- To edit the existing vhost, go to tray → Apache → Virtual Hosts → Edit [vhost name].
- To delete it and start fresh, go to tray → Apache → Virtual Hosts, select the vhost, and delete it. Alternatively, remove its configuration file from
bearsampp/vhosts/.
Alias name not valid
Alias name not valid
This error means the alias name you entered contains characters that are not allowed. Bearsampp alias names must be alphanumeric only — letters and numbers, no spaces, hyphens, or special characters.How to fix: Rename your alias using only letters and numbers (e.g.,
myapp instead of my-app or my app).bearsampp.conf is malformed
bearsampp.conf is malformed
A “config file malformed” error means Bearsampp’s main configuration file has a syntax problem and cannot be parsed correctly.How to fix:
- Open
bearsampp/bearsampp.confin a plain text editor (e.g., Notepad). - Look for any lines that appear broken, have unmatched quotes, or contain unexpected characters.
- If you have a backup (e.g., from a previous working state), restore it.
- If no backup exists, use tray → Tools → Rebuild bearsampp.ini to regenerate a default configuration, then re-apply your customizations.
