XAMPP Apache + MariaDB + PHP + Perl

作者 admin, 五月 24, 2026, 12:25 PM

« 上一篇 - 下一篇 »

admin

for windows, you can download the whole package
Apache + MariaDB + PHP + Perl
https://www.apachefriends.org/

when you first time start mysql , the root password is blank
you can change it by commad
mysqladmin.exe -u root password YourNewPassword
then you have to change the phpmyadmin web page password
"\xampp\phpMyAdmin\config.inc.php"
/* Authentication type and info */

[color=#0c0d0e][size=2][font=ui-monospace, Cascadia Mono, Segoe UI Mono, Liberation Mono, Menlo, Monaco, Consolas, monospace]$cfg['Servers'][$i]['auth_type'] = 'config';[/font][/size][/color]
[color=#0c0d0e][size=2][font=ui-monospace, Cascadia Mono, Segoe UI Mono, Liberation Mono, Menlo, Monaco, Consolas, monospace]$cfg['Servers'][$i]['user'] = 'root';[/font][/size][/color]
$cfg['Servers'][$i]['password'] = 'YourNewPassword';

if you want the system ask user's password everytime
$cfg['Servers'][$i]['auth_type'] = 'cookie';
enable non-local server access phpmysqladmin 
edit file C:\xampp\apache\conf\extra\httpd-xampp.conf
" Require all granted "
    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </Directory>


admin