I want to incorporate PHP in the current site written in Classic ASP on IIS. Is it possible to have the PHP running on the same server to be able making the the Ajax calls from the client side of the ASP pages to PHP scrips. Right now I'm using XAMPP for PHP scripts. If it's possible how it has to be configured? Thank you.
Asked
Active
Viewed 365 times
1
-
possible duplicate of http://stackoverflow.com/questions/4761769/can-php-and-asp-net-run-together-within-the-same-web-site-in-iis-7-5 – bluetoft Jun 25 '13 at 18:46
-
have u got solution – neobie Feb 26 '17 at 15:00
1 Answers
0
Yes. AJAX calls, for the most part, don't care if you are calling an ASP page, PHP page, or ASPX page they just open a connection to the URL. The one caveat to this is that your ASP pages won't know about any Session or Global variables you have defined in PHP and vice versa unless you are persisting them to a cookie or a database.
As far as configuration goes there shouldn't be any. Assuming you have installed PHP on your server IIS will handle what handler takes care of what page (e.g. PHP is handled by the PHP ISAPI etc).

dparsons
- 2,812
- 5
- 28
- 44