日期:2014-05-16  浏览次数:20706 次

难题?linux下,asp+mysql怎么做?
服务器是apache,朋友的,愿意免费给我用。而我的程序是asp+   mysql
所以,必须迁移过去
如何做?


------解决方案--------------------
ASP的程序,只有改了吧,
------解决方案--------------------
看看这个行不行:
http://www.leftworld.net/wenzhang/show/648.html

我没这么用过,所以只能给你一个参考。
------解决方案--------------------
从Apache::ASP的文档(http://search.cpan.org/~chamas/Apache-ASP-2.59/ASP.pm)中可以查到:

How is database connectivity handled?
Database connectivity is handled through perl 's DBI & DBD interfaces. In the UNIX world, it seems most databases have cross platform support in perl. You can find the book on DBI programming at http://www.oreilly.com/catalog/perldbi/

DBD::ODBC is often your ticket on Win32. On UNIX, commercial vendors like OpenLink Software (http://www.openlinksw.com/) provide the nuts and bolts for ODBC.

Database connections can be cached per process with Apache::DBI.


说起来JSP的移植更方便一些。为了将来的维护你不妨用JSP或者其他移植性更好的解决方案重写。像APache::ASP这样的解决方式肯定不适合商业网站,而且不一定支持所有的ASP特性。