To use a single database irregardless of the db version follow this video. The risk to doing this is if the db changes how data is handled/stored it could break our db.
Xdebug 3 completely changed how things are done. You can find a document explaining those changs here.
The default port is now 9003 instead of 9000
Due to those changes we've changed the way all future php releases are configured.
the [xdebug] section in php.ini will be changed to this.
[xdebug]
xdebug.mode = debug
xdebug.start_with_request = trigger
xdebug.output_name = cachegrind.out.%t.%p
xdebug.output_dir = "~BEARSAMPP_LIN_PATH~/tmp/cachegrind"
xdebug.var_display_max_children = "1024"
xdebug.var_display_max_depth = "8192"
xdebug.var_display_max_data = "32768"
xdebug.max_nesting_level = "250"
According to VMWare Knowledge base article, connection to VMware Workstation Server (the shared virtual machines) is administered by the VMware Host Agent service. The service uses TCP ports 80 and 443. This service is also used by other VMware products, including VMware Server and vSphere, and provides additional capabilities.
This will block the execution of the Apache service on Bearsampp.
You can change the VMware Workstation Server ports when you install Workstation and after Workstation is installed.
To connect from a second instance of Workstation to Workstation Server:
- Go to File > Connect to Server.
- Enter the host name or IP address of the host machine running Workstation Server.
- When prompted, login with the username and password of a local administrator on the remote host.
Note: If the VMware Workstation Server service running on the remote server is not using the default port, you must specify the port number. For example, remotehost:444.
With the Shared VMs Workstation preferences, you can also disable the server. To access the Shared VMs Workstation preferences:
- Go to Edit > Preferences.
- Click the Shared VMs tab.
Services loaded with NSSM have the PATH environment variable rewritten.
Impacted services are : Apache, Mailpit, Xlight and Memcached.
As you can see you can add paths relative to the Bearsampp root folder (eg. www).
In the phpinfo the Apache environment will look like this :
And as you can see some paths are automatically added :
- %SystemRoot%\system32
- %SystemRoot%
- %SystemRoot%\system32\Wbem
- %SystemRoot%\system32\WindowsPowerShell\v1.0
- BEARSAMPP_PATH\bin\apache\apache*\bin
- BEARSAMPP_PATH\bin\php\php*
- BEARSAMPP_PATH\bin\php\php*\pear
- BEARSAMPP_PATH\bin\php\php*\imagick
- BEARSAMPP_PATH\bin\nodejs\nodejs*
- BEARSAMPP_PATH\bin\svn\svn*
- BEARSAMPP_PATH\tools\composer\composer*
- BEARSAMPP_PATH\tools\git\git*\bin
- BEARSAMPP_PATH\tools\imagemagick\imagemagick*
- BEARSAMPP_PATH\tools\python\python*\bin
- BEARSAMPP_PATH\tools\ruby\ruby*\bin
If you wish to use the terminal you can use php -m and this will give you a list of all loaded modules
Bearsmapp icon has 3 states :
: All enabled services are started
: One or more enabled services are stopped
: All enabled services are stopped
To check from the Services Manager, click Start > Run and type services.msc and check the status of Bearsampp* services :
You can also see the state of services by going to http://localhost