- Create web directory
c:\web\
Needs
- Apache -> https://www.apachelounge.com/download/ [zip]
- MariaDB -> https://mariadb.org/download/ [zip]
- PHP -> https://windows.php.net/download/ [zip] (Thread Safe)
- PHPMyAdmin -> https://www.phpmyadmin.net/downloads/ [zip]
vc_redist
x64 -> https://aka.ms/vs/16/release/vc_redist.x64.exe
x86 -> https://aka.ms/vs/16/release/vc_redist.x86.exe
- Download apache last version from: https://www.apachelounge.com/download/
- Extract the downloaded zip to
c:\web\apache\
- Open the cmd as Administrator, type
cd c:\web\apache\bin
- Add Apache service
httpd -k install
other
- to check syntax
httpd -t
- to start - stop
httpd -k start
||stop
- download, extract the downloaded zip to
c:\web\php\
- Open the cmd as Administrator, type:
c:\>setx path "%PATH%, c:\web\php" /M
- Rename
php-ini-development.ini
tophp.ini
- download, unzip, copy files to
c:\web\phpmyadmin
- rename
config.sample.inc.php
toconfig.inc.php
- configure
config.inc.php
- run
sql/create_tables.sql
- Download, unzip, move to
c:\web\mariadb
- Set Path
setx path %PATH%, C:\web\mariadb\bin
installmysql_install_db.exe --datadir=..\data
args
- see https://mariadb.com/kb/en/mysql_install_db/
- to add service
--service=MariaDB
- to identify
--password=123
other
- Version
mysqladmin --version
||mysqld --version
- Identify
alter user 'root'@'localhost' identified by 'pass';
- Show DBS
show databases;
- To login
mysql -h localhost -u root -p