I want to develop a C# tool which shall be run on an Apache Web Server whenever it is called via PHP (e.g. using the exec-command). Since I am new to this it would be great if you can help me:
1) If I compile the C#-code on my Windows-system using the Mono and the "msc"-command, will this create a file which is also executable in Linux, i.e. on the Apache Web Server? (it's definitely executable in Windows) If not, how do I create Linux-executable files using Mono for Windows?
2) Is there something to consider when trying to call an application on an Apache Web Server via PHP? Permission rights?