简体   繁体   English

在PHP / MYSQL服务器上运行ASP&VB.NET&Access网站

[英]Running a ASP & VB.NET & Access website on a PHP/MYSQL Server

Is it possible to implement an ASP website written using VB Script on a PHP MYSQL server. 是否可以在PHP MYSQL服务器上实现使用VB脚本编写的ASP网站。 Maybe their is a php interpreter that can parse the asp files or something like that? 也许他们是可以解析asp文件之类的php解释器?

不,没有可以解析asp文件的php解释器。

Those technologies are very different from each other; 这些技术彼此非常不同。

  • ASP.NET and VB.NET need IIS or another .NET enabled web server; ASP.NET和VB.NET需要IIS或另一个启用了.NET的Web服务器;
  • ASP classic and VB script do not need .NET and need IIS or another ASP enabled or compatible web server; ASP经典和VB脚本不需要.NET,也不需要IIS或其他启用ASP或兼容的Web服务器;
  • PHP and MySQL can work on many different web servers including IIS; PHP和MySQL可在许多不同的Web服务器(包括IIS)上运行;

depending on your needs and what is your existing codebase you can keep running the existing code or decide to migrate, details more what you have or want to do. 根据您的需求以及您现有的代码库是什么,您可以继续运行现有代码或决定迁移,详细说明您已有或想要做的事情。 :) :)

There is no single interpreter which can parse PHP, ASP and ASP.NET code. 没有单个解释器可以解析PHP,ASP和ASP.NET代码。 However, you can configure multiple interpreters on a single web server. 但是,您可以在单个Web服务器上配置多个解释器。

I don't know about parsing classic ASP, it's been a long time. 我不了解解析经典的ASP,已经有很长时间了。 You may need to go with the IIS web server on the Windows platform for that. 为此,您可能需要使用Windows平台上的IIS Web服务器。 Mono certainly hasn't given any attention to classic ASP as far as I know (can't blame them), nor has anybody else. 据我所知,Mono并没有对经典ASP给予任何关注(不能怪他们),也没有其他人。

As far as PHP and ASP.NET are concerned, your top two choices are the IIS web server and the Apache web server. 就PHP和ASP.NET而言,您的前两个选择是IIS Web服务器和Apache Web服务器。

For the former, ASP.NET comes standard if you install the .NET Framework after the web server (or register it with the web server using aspnet_regiis or something of that nature after installing IIS), and PHP can be installed on it as well. 对于前者,ASP.NET是标准的,如果您在Web服务器之后安装.NET Framework(或者在安装IIS之后使用aspnet_regiis或类似的性质在Web服务器上注册.NET Framework),也可以在其安装 PHP

For the latter, you can install Apache on just about any platform (so you're not restricted to Windows) and install/configure PHP and Mono with it for interpreting PHP and ASP.NET. 对于后者,您可以在几乎任何平台上安装Apache(因此您不仅限于Windows),还可以使用它来安装/配置PHPMono ,以解释PHP和ASP.NET。

As for MySQL, that's also available on a variety of platforms . 至于MySQL,也可以在多种平台上使用 It's a separate service apart from the web server, so it isn't dependent on interpreters and such. 它是与Web服务器分开的独立服务,因此它不依赖于解释器等。 Once it's installed/configured/running, you just need a connection string for it and maybe a driver library if one isn't available by default. 一旦安装/配置/运行它,您只需要一个连接字符串,如果默认情况下不可用,则可能需要一个驱动程序库 (You'd likely need one for .NET code, but not for PHP code because it's already available.) (您可能需要一个用于.NET代码,但不需要一个用于PHP代码,因为它已经可用。)

Again, for classic ASP and VBScript, you may have very limited options. 同样,对于经典的ASP和VBScript,您的选择可能非常有限。 Probably just IIS. 可能只是IIS。 But for the others you have more options to create a custom solution for your needs. 但是对于其他人,您有更多选择来创建满足您需求的自定义解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM