WAMP 服务器和 PHP

发布于 2024-08-13 00:48:20 字数 282 浏览 2 评论 0原文

我正在 Windows Vista 计算机上使用 WAMP 服务器,并且我正在尝试执行我的操作PHP 编程的第一步。

问题是PHP的include函数不起作用,我不知道问题出在哪里!我的代码在工作时在其他服务器上运行,但不在WAMP中运行!

I am using a WAMP server on a Windows Vista machine, and I am trying to do my first steps in PHP programming.

The problem is that the PHP include function dosn't work, and I don't know what the problem is! My code runs on other servers at work, but do not run in WAMP!

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

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

发布评论

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

评论(2

白昼 2024-08-20 00:48:20

随着 WAMP 服务器启动,尝试转到 PHP >从任务栏图标中查看 PHP 扩展,并查看该函数使用的扩展是否已启用。您想要的大部分内容应该可以从此列表中获得。

With WAMP server started try going to PHP > PHP Extensions from the taskbar icon and see if the extension that the function uses in enabled. Most of what you want should be available from this list.

愿得七秒忆 2024-08-20 00:48:20

尝试从 Wamp 打开 php MyAdmin - 确保 Apache 进程正在运行 - 如果没有,则不会出现任何内容。如果这是问题所在,我会检查是否是与端口 80 相关的问题(这发生在我身上)。但如果它确实有效,请确保使用正确的语法打开 php 页面,如 http://localhost/my_page.php

Try to open php MyAdmin from Wamp - to make sure Apache is process is running - if not, nothing appears. If this is the issue, I would check if it could be problem related to port 80 (which happened to me). But if it DOES work, make sure that you use correct syntax for opening the php page as http://localhost/my_page.php

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