公司内网,PHP/MySQL 托管在本地服务器上

发布于 2024-12-06 07:52:42 字数 192 浏览 4 评论 0原文

我为我的公司创建了一个内部网,但遇到了问题。文件和 MySQL 表托管在我们的本地服务器上,并用 PHP 编写。基本上它有一个员工登录系统以及公告板、日历等。

无论如何,我为员工创建了帐户,但没有人可以从自己的计算机登录,只有我的计算机和服务器计算机。是因为我这两台电脑只安装了PHP吗?我需要在所有计算机上安装它吗?

任何帮助表示赞赏!

I created an intranet for my company, but I’m having a problem. The files and MySQL tables are hosted on our local server, and is written in PHP. Basically it has a login system for employees and a bulletin board, calendar, etc.

Anyways, I created accounts for the employees, but nobody can login from their own computers, only my computer and the server computer. Is it because I only have PHP installed on these two computers? Do I need to install it on all computers?

Any help is appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你与昨日 2024-12-13 07:52:42

您需要将您的服务器内网IP地址设为静态。在服务器的命令提示符中输入ipconfig /all,将会出现像 192.168.1.* 这样的 IP 地址(不是 192.168.1.1),复制该地址,然后从其他计算机上使用它来访问您的本地网站。

You need to make your intranet ip address of server static . Type ipconfig /all in your command promt of server there will be ip address like 192.168.1.* (not 192.168.1.1) copy that and then use it from other computers to access your local website.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文