I have project in .net mvc3 .I want to integrating PHP pages into .NET MVC 3 And Deploy?
Asked
Active
Viewed 449 times
-2
-
Could you show what you tried? – David Jan 30 '16 at 13:35
-
We try to run .php web pages as view using .net with mvc. – solanki dev Jan 30 '16 at 13:37
-
http://forums.iis.net/t/1177844.aspx?MVC+asp+net+app+with+subdirectory+running+a+php+app+causes+performance+problems+for+php+ – solanki dev Jan 30 '16 at 13:50
-
The solution in your link should work. Just put your php page in a separate directory and make sure the routing ignores it. – David Jan 30 '16 at 15:30
-
Can you explain with an example or any link? – solanki dev Feb 01 '16 at 09:32
1 Answers
0
Just put the php page in a subdirectory like www.mypage.com/php. Then change the routing so that your subdirectory is ignored. See this question for details: IgnoreRoute for PHP Site embedded in ASP.NET MVC 3
-
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. – solanki dev Feb 01 '16 at 11:05
-
This seems to be a separate issue with your .Net configuration. http://stackoverflow.com/questions/4388066/the-page-you-are-requesting-cannot-be-served-because-of-the-extension-configura – David Feb 01 '16 at 12:36
-
Or try this: http://www.chrisvandesteeg.nl/2007/01/12/iis7-http-error-4043-not-found-for-php-cfm-etc/ – David Feb 01 '16 at 12:38
-
-
-
When you get an error, search that error in google. There are so many solutions. for instance http://stackoverflow.com/questions/23007551/the-fastcgi-process-exited-unexpectedly – David Feb 01 '16 at 13:01
-
Hi David I have done all tasks according to your given url but no solution yet. – solanki dev Feb 02 '16 at 04:50
-
-
Maybe post a new question with your new problem. But you should provide more information because this error just means something caused your php to crash. It could be anything. – David Feb 02 '16 at 09:08