设置PHP / mysql的最佳http服务器是什么? [英] What is the best http server to set up PHP/mysql?

查看:72
本文介绍了设置PHP / mysql的最佳http服务器是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,自从我编程以来已经有一段时间了。

我正在考虑开发一个Web数据库作为自定义客户关系管理系统。我最好将mySQL与PHP服务器端脚本一起使用并使用apache作为Web服务器吗?我做了这样的事情已经很多年了。谢谢



我尝试了什么:



谷歌但不确定当今的标准是针对此类在线应用程序的服务器端脚本和设计。

解决方案

请参阅我对该问题的评论。



尽管问题不太正确,但它具有一定的实用意义。 PHP流行的情况只是消除了许多问题,除了...使用这种语言本身,我认为这是一种或ersatz。这当然取决于你;你仍然可以解决许多Web开发问题。它只是让HTML服务器的选择并不是真正重要的,你可以根据其他因素选择几乎任何东西。



还有很多其他因素。但我们只考虑一种选择, LAMP

LAMP(软件包) - 维基百科,免费的百科全书



后果会是什么?首先,您可以选择最广泛的托管机会。此外,最便宜的解决方案也很可能是LAMP。与IIS相比,你将拥有Apache服务,它非常紧凑,重量轻。它是最可靠的解决方案之一,即使不是最可靠的解决方案。基于LAMP的托管类型也是最成熟的。当您获得此类托管时,您很可能会获得接近标准的熟悉环境,在许多托管服务提供商中非常相似。您是否应该选择摆脱您的提供商并切换到另一个提供商,他们在数字或客户服务质量方面提供更好的服务,而且,您的环境很可能几乎相同。如果你遇到问题,你更容易找到帮助,因为很多人也使用LAMP或非常了解它的组件。



为自托管安装LAMP组件也非常简单,但这很少是选择。但是,这仍然是好处,因为您可以轻松安装开发所需的所有环境,并测试LAN(Intranet)甚至本地Apache服务器上的所有内容,以及所有必需的模块



了解所有这些,您仍然可以做出不同的选择,WAMP,IIS以及大量不太受欢迎但更紧凑或专业的解决方案。这是你的选择;它可能取决于许多其他因素。







或者,我差点忘了:即使您决定切换到ASP.NET,Apache仍然可以使用它(但我不知道从哪里获得这样的共享主机;我没有找到任何,但它不会是昂贵的VPS或更多的问题昂贵的专用托管)。

一个解决方案是基于Mono和Apache mod_mono模块,另一个是更现代的模块,带有Microsoft ASP.NET Core和Apache ASP.NET Core:

mod_mono - 维基百科,免费的百科全书

。NET Core - 维基百科,免费的百科全书

ASP.NET核心 - 维基百科,免费的百科全书



-SA

Hi Everyone, it's been a while since I did programming.
I am thinking of developing a web database as a custom customer relationship management system. Am I best to use mySQL with PHP server side scripting and using apache as the web server? It's been many years since I did anything like this. Thank you

What I have tried:

Google but not sure of what today's standards are for server side scripting and design for this type of online application.

解决方案

Please see my comment to the question.

Even though the question is not quite correct, it makes some practical sense. The situation with PHP popularity just eliminates many problems except… using this language itself, which I consider as a kind or ersatz. It's up to you of course; you still can solve many Web development problems. It's just makes the choice of an HTML server not really critical, you can choose nearly anything, depending on other factors.

There are many of those other factors. But let's consider just one kind of choice, LAMP:
LAMP (software bundle) — Wikipedia, the free encyclopedia.

What would be the consequences? First, you can choose from the widest possible set of hosting opportunities. Moreover, the cheapest solutions are also most likely will be LAMP. You will have Apache service, which is extremely compact and light weight, compared with, say, IIS. It is one of the most reliable solutions, if not the most reliable. LAMP-based types of hosting are also the most well established. When you get such hosting, most likely you will get near-standard familiar environment, very similar in many hosting providers. Should you choose to get rid of your provider and switch to another one, who provide better service in terms of figures or quality of customer service, and, most likely, your environment will be almost the same. It's more likely that you easily find help, if you face problem, because so many people also use LAMP or know its components very well.

Installation of LAMP components for self hosting is also extremely easy, but this is rarely the choice. However, this is still the benefit, because you can easily install all the environment needed for development and test everything on your LAN (Intranet) or even local Apache server, with all required modules.

Knowing all that, you still can make different choice, WAMP, IIS and a good number of less popular but more compact or specialized solutions. The choice is yours; and it may depend on many other factors.

[EDIT]

Or, I almost forgot: even if you decide to switch to ASP.NET, Apache still can work with it (but I have no idea where to get such shared hosting; I failed to find any, but it won't be a problem with expensive VPS or even more expensive dedicated hosting).
One solution is based on Mono with Apache mod_mono module, another, more modern one, with Microsoft .NET Core with Apache ASP.NET Core:
mod_mono — Wikipedia, the free encyclopedia,
.NET Core — Wikipedia, the free encyclopedia,
ASP.NET Core — Wikipedia, the free encyclopedia.

—SA


这篇关于设置PHP / mysql的最佳http服务器是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆