Folder reference
www/
Your web project files. Everything here is served by Apache at
http://localhost/.bin/
Service binaries — Apache, PHP, MySQL, MariaDB, PostgreSQL, Node.js, Memcached, Mailpit, and Xlight.
tools/
Command-line tools — Git, Composer, Ngrok, Python, Ruby, Perl, PowerShell, Ghostscript, and Bruno.
apps/
Web applications — phpMyAdmin and phpPgAdmin — served by Apache.
logs/
Log files for Bearsampp itself and for each running service.
alias/
Apache alias configuration files, one per alias you create through the tray menu.
vhosts/
Apache virtual host configuration files, one per virtual host you create through the tray menu.
ssl/
SSL certificate files and the OpenSSL configuration (
openssl.cnf).core/
Bearsampp’s internal engine — PHP classes, language files, and supporting assets. Do not modify.
tmp/
Temporary files created during operation. Bearsampp clears this folder on startup.
Where to put your project files
Drop your project files intobearsampp/www/. Each subfolder becomes a URL path automatically:
Inside the bin/ folder
Each binary module has its own subfolder underbin/, and within it a separate folder per installed version. A current symlink always points to the active version:
Alias and virtual host config files
Thealias/ and vhosts/ folders contain Apache .conf files that Bearsampp generates and maintains for you. You should not edit these files manually — instead, use the tray menu actions Add an alias and Add a virtual host, which write the correct configuration and reload Apache for you.
If you do need to customise a generated file, use the Edit option from the alias or virtual host submenu in the tray menu, which opens the file in your default text editor.
Log files
Thelogs/ folder collects logs from all components:
| File | Contents |
|---|---|
bearsampp.log | General Bearsampp activity log |
bearsampp-error.log | PHP and application errors |
bearsampp-services.log | Service start, stop, and install events |
bearsampp-startup.log | Events recorded during Bearsampp startup |
bearsampp-batch.log | Output from internal batch operations |
logs/ or inside each module’s versioned folder.
Configuration files
The root folder contains Bearsampp’s own settings files:bearsampp.conf— the main settings file. Stores your language, timezone, hostname, logging verbosity, startup behavior, and other global options. Bearsampp updates this file automatically when you change settings from the tray menu.bearsampp.ini— stores active module versions and port assignments. Bearsampp rewrites this file whenever you switch versions or change ports.
