FAQ
Configuration
NET::ERR_CERT_AUTHORITY_INVALID since Chrome 58
Since Chrome 58, self-signed certificates generated with Neard are no longer accepted and you will have the error NET::ERR_CERT_AUTHORITY_INVALID
if you go to https://localhost
.
Chrome only accepts insecure certificates on localhost by turning the flag chrome://flags/#allow-insecure-localhost
on Chrome. Or you can add the certificate to the Trusted Root Certification Authorities with the certutil command :
certutil.exe -addstore -user root "C:\bearsampp\ssl\localhost.crt"
Then restart Chrome.
Ruby : MSYS2 could not be found
ridk install
used by the official installer.VMWare service uses port 80 and 443
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.
How to stop IIS conflict port 80 and 443
iisreset /stop
Or you can change the port number of IIS by following the official Microsoft documentation.
How to prevent Skype conflict of port 80 and 443
Use port 80 and 443 as an alternative for additional incoming connections
option. Click on the Save button and then restart Skype to make the change effective. How do you change import file size limit in phpMyAdmin
alias\phpmyadmin.conf
:<Directory "C:/neard/apps/phpmyadmin/phpmyadmin4p3/4.4.15.6/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
# START switchOnline tag - Do not replace!
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1
# END switchOnline tag - Do not replace!
<IfModule php5_module>
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</IfModule>
<IfModule php7_module>
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</IfModule>
</Directory>
How to disable some services to launch on startup?
There are two ways to disable some services to launch on startup.
First you can edit the neard.conf
file and change the value to 0
for keys ending with enable = "1"
below BINS
.
Example: filezillaEnable = "0"
Or you can go to the Neard menu.
Example: Bearsampp tray menu > FileZilla > Enable / Disable
How to use MySQL and MariaDB simultaneously with PHP?
Here is an example using PDO to access a database named
wordpress
installed on MySQL and MariaDB :
$mysql = new PDO('mysql:host=127.0.0.1;port=3306;dbname=wordpress', 'root', '');
$mysqlStmt = $mysql->query("SELECT * FROM wp_comments");
var_dump($mysqlStmt->fetchAll(PDO::FETCH_ASSOC));
$mariadb = new PDO('mysql:host=127.0.0.1;port=3307;dbname=wordpress', 'root', '');
$mariadbStmt = $mariadb->query("SELECT * FROM wp_comments");
var_dump($mariadbStmt->fetchAll(PDO::FETCH_ASSOC));
What is the default user / password on PostgreSQL
What is the default password for root user on MySQL / MariaDB?
What is the default user / password for FileZilla Server?
How do you upgrade from a previous release
For each release there are "Upgrade notes" provided to guide you on how to upgrade.