公司内网,PHP/MySQL 托管在本地服务器上
我为我的公司创建了一个内部网,但遇到了问题。文件和 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将您的服务器内网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.