php 如何在 Windows 上检查 XAMPP 的版本?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/50295175/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to check XAMPP's version on Windows?
提问by AlexScalar
In Linux, its simple. I just type /opt/lampp/lampp status, and it tells me about the XAMPP version.
在 Linux 中,它很简单。我只需输入/opt/lampp/lampp status,它就会告诉我有关 XAMPP 版本的信息。
Version: XAMPP for Linux 5.6.35-0
Apache is running.
MySQL is running.
ProFTPD is running.
What is the equivalent command for XAMPP on windows?
Windows 上 XAMPP 的等效命令是什么?
回答by user3310092
Open XAMPP Control Panel, hit on the "Help" button and then "View ReadMe" ... It'll open a Notepad file having the first line as:
打开 XAMPP 控制面板,点击“帮助”按钮,然后点击“查看自述文件”......它将打开一个记事本文件,第一行如下:
"###### ApacheFriends XAMPP Version x.y.x ######"
“###### ApacheFriends XAMPP 版本 xyx ######”
where x.y.z is the XAMPP version!
其中 xyz 是 XAMPP 版本!
回答by FeralReason
From the XAMPP control panel, beside MySQL module, click "Stop", then click "Start", then click on "Logs" and scroll to the last entry. The last line will read something like this: 2018-09-27 10:38:04 17812 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections. Version: '10.1.31-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
在 XAMPP 控制面板中,在 MySQL 模块旁边,单击“停止”,然后单击“开始”,然后单击“日志”并滚动到最后一个条目。最后一行将读取如下内容:2018-09-27 10:38:04 17812 [注意] c:\xampp\mysql\bin\mysqld.exe:准备连接。版本:'10.1.31-MariaDB' 套接字:'' 端口:3306 mariadb.org 二进制分发
Awkward - but the only way I found to do this.
尴尬 - 但我发现这样做的唯一方法。
回答by Noha Salah
My XAMPP version is 3.2.4 and you can find the version of your xampp at the top of its control panel.
我的 XAMPP 版本是 3.2.4,您可以在其控制面板的顶部找到您的 xampp 版本。
To check the version of xampp components:
要检查 xampp 组件的版本:
- For Apache:
- Go to where you installed xampp and open xampp folder.
- Travers through the following folders:
- 对于阿帕奇:
- 转到安装 xampp 的位置并打开 xampp 文件夹。
- 遍历以下文件夹:
xampp -> apache -> bin -> Right click on httpd.exe -> Properties option -> Details tab
xampp -> apache -> bin -> 右键单击 httpd.exe -> 属性选项 -> 详细信息选项卡
Check the File Version as displayed in the following screen:
- If you want to use XAMPP shell, go to your xampp control panel and press Shell button in black at the right, after it opens type the following commands to check the version for each apache, php and mysql:
for Apache type :
httpd -v
- for PHP type :
php -v
- for mysql type :
mysql --version
, and that will display your MariaDB version too.
回答by Sergio Chavez
Go to uninstall software if you are on windows and there you will see the version of your xammp.
如果您使用的是 Windows,请转到卸载软件,然后您将看到 xammp 的版本。