配置PHP和MySQL

编程入门 行业动态 更新时间:2024-10-27 04:30:58
本文介绍了配置PHP和MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经配置了我的PHP(5)来处理vista业务。 我已经成功安装了MySQL服务器5.0。 在我的php中。 ini我已启用该行

I have configured my PHP (5) to work on vista business fine. I''ve also successfully installed MySQL server 5.0 fine. In my php.ini I have enabled the line

展开 | 选择 | Wrap | 行号 推荐答案

您使用的是什么HTTP服务器? 我在使用IIS7的Vista Ultimate上遇到了类似的问题。通常ISS会立即反映变化,但我不得不重新启动计算机才能实现这一目标。 如果是Apache,任何更改都需要重新启动服务器,但因为它'重启Vista并不是一个坏主意。 如果不解决它,它可能是一个安全问题。 Vista的用户系统有点奇怪。只需关闭额外的安全性,这可能是个好主意。我做了:P 你可以尝试将mysql DLL文件复制到windows目录。应该设置PATH,但你永远不知道。 What HTTP server are you using? I had a similar problem on Vista Ultimate using IIS7. Usually ISS reflects changes right away, but I had to go as far as to reboot the computer to get this going. If it is Apache, restarting the server is required for any change, but since it''s Vista rebooting wouldn''t be a bad idea. If that doesn''t fix it, it might be a security thing. Vista''s user system is kind of weird. Might be a good idea to just turn the extra security off. I did :P And you could try to copy the mysql DLL files to the windows directory. Setting the PATH should be enought, but you never know.

你使用什么HTTP服务器? 我在使用IIS7的Vista Ultimate上遇到了类似的问题。通常ISS会立即反映变化,但我不得不重新启动计算机才能实现这一目标。 如果是Apache,任何更改都需要重新启动服务器,但因为它'重启Vista并不是一个坏主意。 如果不解决它,它可能是一个安全问题。 Vista的用户系统有点奇怪。只需关闭额外的安全性,这可能是个好主意。我做了:P 你可以尝试将mysql DLL文件复制到windows目录。应该设置PATH,但你永远不知道。 What HTTP server are you using? I had a similar problem on Vista Ultimate using IIS7. Usually ISS reflects changes right away, but I had to go as far as to reboot the computer to get this going. If it is Apache, restarting the server is required for any change, but since it''s Vista rebooting wouldn''t be a bad idea. If that doesn''t fix it, it might be a security thing. Vista''s user system is kind of weird. Might be a good idea to just turn the extra security off. I did :P And you could try to copy the mysql DLL files to the windows directory. Setting the PATH should be enought, but you never know.

我正在使用Apache 2.0.59。我已经多次重启服务器和机器了。我已经遇到了这个问题大约三天了。

I''m using Apache 2.0.59. I''ve already restarted the server, and the machine several times. I''ve been having the problem for about three days now.

好的,这很奇怪。 你是否在管理员模式下安装了MySQL?如果没有,可能会缺少一些用户权限或服务。 显然没有用户可以成为管理员,所以我第一次安装它失败了。然而,当我从运行管理模式的cmd窗口运行安装后,它工作了。 另外,你绝对确定你正在编辑正确的php.ini吗? 我经常烦恼地犯了这个错误:P Ok, thats weird. Did you install MySQL in Admin mode? If not there might be some user privaleges or services missing. Aparently no user can be admin, so the first time I installed this it failed. It worked however after I ran the install from a cmd window running admin mode. Also, are you absolutely sure you''r editing the correct php.ini? I''ve made that mistake annoyingly often :P

更多推荐

配置PHP和MySQL

本文发布于:2023-11-22 03:07:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1615740.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PHP   MySQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!