在XAMPP上开发,在LAMP上启动会出现什么问题?

发布于 2024-09-15 10:36:24 字数 211 浏览 0 评论 0原文

我正在考虑在我的 Windows 机器上开发一个 php/MySql 网站。但我担心当我把它放在 GoDaddy 的服务器上时会出现复杂情况,以及他们的 LAMP(他们会使用 LAMP,对吧?)堆栈可能出现的问题。

它们是否太危险和/或太多而无法合理化 Windows 上的 XAMPP(WAMP 呢?)堆栈的开发?在 Linux 机器上进行开发是真正的解决方案吗?

-图罗

I am considering developing a php/MySql website on my Windows machine. But I am worried about complications when I go to put it on the the server at, say, GoDaddy and the issues that may arise from their LAMP (they would use LAMP, right?) stack.

Are they too perilous and/or numerous to rationalize development with the XAMPP (what about WAMP?) stack on Windows? Is developing on a Linux machine the real solution?

-Turo

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

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

发布评论

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

评论(1

朕就是辣么酷 2024-09-22 10:36:24

最重要的是路径处理(windows 使用 \ 作为路径分隔符,linux 使用 /)和文件名(windows 不区分大小写,linux 是)的区别。这两者都可以以独立于平台的方式处理。

除此之外,如果您确保加载了相同的扩展,那么应该没问题。

PS 还有一组仅适用于 Windows 的 PHP 扩展,出于显而易见的原因,如果您不希望应用程序在 Linux 上运行,您应该避免使用这些扩展。
http://www.php.net/manual/en/refs。 utilspec.windows.php

The most important thing will be difference in handling of paths (windows uses \ for path separator, linux uses /) and filenames (windows is not case sensitive, linux is). Both these can be handled in platform independent manner.

Other than that, if you make sure you have same extensions loaded, you should be fine.

P.S. There's also a set of Windows-only PHP extensions, which for obvious reasons you should avoid if you wan't your application to run on linux.
http://www.php.net/manual/en/refs.utilspec.windows.php

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