PDA

View Full Version : Is it possible to run ASP under LINUX


hostingcp
05-06-2008, 03:34 AM
To make ASP run under Linux, PHP script files are saved as ASP extensions and are redirected to the PHP interpreter. So it looks like the server serves ASP files, but these are actually PHP scripts.

grant
05-06-2008, 05:29 AM
You could save a php script with the asp extension.
Example: http://gtgarvey.net/test/asptest.asp

asptest.asp

<?php phpinfo() ?>

.htaccess

AddType application/x-httpd-php5 .asp .php


If I understood the question correctly that is the answer, but you can't run an asp application here.

amore2
07-07-2008, 06:48 AM
Actually, ASP and PHP are two completely different languages. When you rename the script from php to asp you do not change the language but just the extension.

It is possible to have ASP running under Linux via mod_mono for example, but this technology is not really suitable for a shared server and as such it is not implemented here.