-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在windows上安装mariadb+php+nginx+phpMyAdmin #16
Comments
IssueSolution修改如下
|
设置mariadb初始化密码MariaDB [(none)]> use mysql;
Database changed
MariaDB [mysql]> update user set password=password('123456') where user='root';
PS C:\Software\mariadb-10.3.11-winx64\bin> .\mysql.exe -u root -p
Enter password: ******
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 10.3.11-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> |
按照这个配置 出现这个问题,查了一下,应该是phpMyadmin和php 的版本配套引起。 |
issueWarning in .\libraries\classes\Config\FormDisplay.php#658
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Backtrace
.\vendor\composer\ClassLoader.php#444: include()
.\vendor\composer\ClassLoader.php#322: Composer\Autoload\includeFile(string 'C:\\Software\\nginx-1.15.8\\html\\phpmyadmin\\vendor\\composer/../../libraries/classes\\Config\\FormDisplay.php')
Composer\Autoload\ClassLoader->loadClass(string 'PhpMyAdmin\\Config\\FormDisplay')
.\libraries\classes\Config\Forms\BaseForm.php#16: spl_autoload_call(string 'PhpMyAdmin\\Config\\FormDisplay')
.\vendor\composer\ClassLoader.php#444: include(.\libraries\classes\Config\Forms\BaseForm.php)
.\vendor\composer\ClassLoader.php#322: Composer\Autoload\includeFile(string 'C:\\Software\\nginx-1.15.8\\html\\phpmyadmin\\vendor\\composer/../../libraries/classes\\Config\\Forms\\BaseForm.php')
Composer\Autoload\ClassLoader->loadClass(string 'PhpMyAdmin\\Config\\Forms\\BaseForm')
.\libraries\classes\Config\Forms\User\FeaturesForm.php#12: spl_autoload_call(string 'PhpMyAdmin\\Config\\Forms\\BaseForm')
.\vendor\composer\ClassLoader.php#444: include(.\libraries\classes\Config\Forms\User\FeaturesForm.php)
.\vendor\composer\ClassLoader.php#322: Composer\Autoload\includeFile(string 'C:\\Software\\nginx-1.15.8\\html\\phpmyadmin\\vendor\\composer/../../libraries/classes\\Config\\Forms\\User\\FeaturesForm.php')
Composer\Autoload\ClassLoader->loadClass(string 'PhpMyAdmin\\Config\\Forms\\User\\FeaturesForm')
.\libraries\classes\Config\Forms\BaseFormList.php#123: spl_autoload_call(string 'PhpMyAdmin\\Config\\Forms\\User\\FeaturesForm')
.\libraries\classes\UserPreferences.php#48: PhpMyAdmin\Config\Forms\BaseFormList::getFields()
.\libraries\classes\Config\PageSettings.php#80: PhpMyAdmin\UserPreferences->pageInit()
.\libraries\classes\Config\PageSettings.php#210: PhpMyAdmin\Config\PageSettings->__construct(string 'DbStructure')
.\libraries\classes\Controllers\Database\DatabaseStructureController.php#156: PhpMyAdmin\Config\PageSettings::showGroup(string 'DbStructure')
.\db_structure.php#38: PhpMyAdmin\Controllers\Database\DatabaseStructureController->indexAction() 用最新的phpMyAdmin 版本4.8.3 之后,就没有了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step1-安装mariadb
写启动脚本
Step2-安装nginx
Step3-安装php
检查nginx.conf中的 127.0.0.1:9123 端口并没有监听。
安装PHP-FastCGI
https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/
The text was updated successfully, but these errors were encountered: