Let me explain the title a little and move towards my question...
I'm running an ASP.NET website with Fasthosts hosting it, along with a number of web services - no issues.
I have a PHP script to be executed by both a dedicated page and one of the web services - error '500 Internal Server Error'.
Both ASP.NET and PHP are enabled in the Fasthosts control panel. Direct access to the file (ie. http://site.com/file.php with or without params) fails as does access via a page with a 'get' form (a very simple test .htm page is fine until sumitted, though). I don't have an .htaccess file on the server (I was led to believe this could contain access directives which could be restricting).
So, does anybody have any experience with this kind of thing? Can anybody help?
I tried a coupel of things last night, to mention one failure was chmod'ing to enable read and execute permissions (Fasthosts just keep resetting them).
Getting to the grunt of it though, I dumbed down the script to simple echo a hello and bingo! It worked. After a small amount of time I was able to nail it down to the fact I didn't have permissions to call the 'exec' function, nor can I even call 'getmxrr'.
I guess I can understand 'exec' being unavailable but what about 'getmxrr'? Have they taken proactive steps to disable this or would it tend to require enablement?