sudo systemctl stop mysql
Or
sudo service mysql stop
# Use the front controller as index file. It serves as a fallback solution when | |
# every other rewrite/redirect fails (e.g. in an aliased environment without | |
# mod_rewrite). Additionally, this reduces the matching process for the | |
# start page (path "/") because otherwise Apache will apply the rewriting rules | |
# to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl). | |
DirectoryIndex index.php | |
# By default, Apache does not evaluate symbolic links if you did not enable this | |
# feature in your server configuration. Uncomment the following line if you | |
# install assets as symlinks or if you experience problems related to symlinks |
To rename WSL Distros on Windows follow the steps: | |
1. Stop all instances of WSL | |
On PowerShell run the command: wsl --shutdown | |
2. Open Registry Editor and go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss | |
Each subfolder on Lxss represents a distro | |
3. Locate and rename the distro you want | |
Inside each distro folder you have the DistributionName, change it (example: ubuntu) and click ok |
<?php | |
/** | |
* Generate secure URL-friendly unique ID. | |
* By default, ID will have 21 symbols to have same collisions probability | |
* as UUID v4. | |
* | |
* @param integer $len The length of the ID to generate. | |
* @param mixed $entropy balanced, true (max), false (min) | |
* @param string $alphabet The characters to use in the ID. |