xampp zend框架和zendserver ce在命令行中相处不好

发布于 2024-09-17 11:43:26 字数 342 浏览 2 评论 0原文

我已经使用 xampp 1.7.3 一段时间了,今天我决定研究一下 zend 框架并获得了 zendserver ce 5.0.2。

我使用的是 Windows 7,直到我使用命令行工具,我才注意到 xampp 附带了一个 zend Framework (zf) 版本。
zendserver 获得了比 xampp 更新的版本。 xampp 已经添加到 zend server 之前的路径中。因此命令提示符只能看到 xampp 一个,而且在创建项目时会抛出错误。
我想使用 zendserver 作为默认值,我尝试将 zend server bin 放在环境变量中的 php 之前,然后重新启动机器,但没有成功。有什么想法吗?感谢您的阅读

i've been using xampp 1.7.3 for a while now and today i've decided to have a look into zend framework and got a zendserver ce 5.0.2.

i'm on windows 7 and until i used the command line tool, i haven't noticed that there was a version of zend framework (zf) shipped with xampp.
zendserver got a more recent version than the xampp one. xampp was already added to the path before zend server.so command prompt is only seeing xampp one, plus it's throwing errors when creating projects.
i'ld like to use the zendserver one as default and i've tried to put the zend server bin before php in the environment variables and restarted the machine but no success.any ideas ? thanks for reading

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

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

发布评论

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

评论(1

情深已缘浅 2024-09-24 11:43:27

如果您找不到如何取出 xammp zf 路径,您可以随时从 xammp 重命名/移动/删除版本。由于 zend 服务器在您的路径上,因此根本不应该成为问题。

或者,您可以尝试将 xampp 中的版本替换为更新的版本。据我所知,xampp 本身不使用 zf,所以我怀疑它会破坏某些东西。

如果您只是尝试 zend,那么这些解决方案中的任何一个都很容易撤消。也许还可以考虑虚拟化来满足这些需求。创建虚拟机然后让许多网络服务器在同一个虚拟机上运行会更容易。

If you cannot find how to take out the xammp zf path you could always rename/move/delete de version from xammp. Since the zend server one is on your path it should not be a problem at all.

Alternatively you could try replacing the version in xampp with the more recent one. As far as I know xampp does not use zf itself so I doubt it would break something.

If you are just trying out zend any of these solutions is pretty easy to undo. Also maybe look into virtualisation for these kind of needs. Easier to just create virtual machines then make many webservers work on the same one.

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