首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

难题?linux下,asp+mysql如何做

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

难题?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特性。

热点排行