WAMP 服务器和 PHP
我正在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
随着 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.
尝试从 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