I need to run a specific PHP script which is located in the same folder with ASP.NET application.
Surely I can run it via WebClient, for example, using full public URL of the website, but I thought maybe there’s a more logical way? To somehow launch it locally?
Yes you can run the php file locally but if it does not rely on user interaction or external browser assets by using:
or
or just:
You can refer to http://php.net/manual/en/features.commandline.php