在 Windows 中通过 PowerShell 停止 Bitnami WAMP Apache 和 MySQL 服务器?
Stopping Bitnami WAMP Apache and MySQL server through PowerShell in Windows?
我正在尝试编写一个脚本来停止 Bitnami WAMP 中的 Apache 和 MySQL 服务。如果手动操作,我们必须打开 C:\WAMP\manager-windows.exe 并停止服务,如下所示:
但是,当我进入命令提示符并 运行 命令“httpd -k start”时,apache 服务器启动 运行ning,我可以访问我的网络应用程序,但如果我打开 manager-windows.exe 再次它不反映更改。我也一直在尝试使用命令提示符命令“httpd -k stop”来停止 Apache 服务,但这在通过 manager-windows.exe.
启动时与 Apache Web 服务器有某种冲突
这里是 Bitnami 工程师,
您可以使用我们包含在安装目录中的 servicerun.bat 脚本一次性 start/stop 所有服务。
servicerun.bat START
如果您只想 start/stop Apache 或 MySQL 使用命令提示符,您可以使用我们包含在 installdir/apache2/scripts/servicerun.bat 或 installdir/mysql/scripts/servicerun.bat 中的脚本
我正在尝试编写一个脚本来停止 Bitnami WAMP 中的 Apache 和 MySQL 服务。如果手动操作,我们必须打开 C:\WAMP\manager-windows.exe 并停止服务,如下所示:
但是,当我进入命令提示符并 运行 命令“httpd -k start”时,apache 服务器启动 运行ning,我可以访问我的网络应用程序,但如果我打开 manager-windows.exe 再次它不反映更改。我也一直在尝试使用命令提示符命令“httpd -k stop”来停止 Apache 服务,但这在通过 manager-windows.exe.
启动时与 Apache Web 服务器有某种冲突这里是 Bitnami 工程师,
您可以使用我们包含在安装目录中的 servicerun.bat 脚本一次性 start/stop 所有服务。
servicerun.bat START
如果您只想 start/stop Apache 或 MySQL 使用命令提示符,您可以使用我们包含在 installdir/apache2/scripts/servicerun.bat 或 installdir/mysql/scripts/servicerun.bat 中的脚本