July 24, 20187 yr I'm developing some php scripts using FMS16 on Windows (2k8R2) with CWP and PHP, but am running into an issue I can't seem to solve. As part of the script, I want to log when the script gets invoked, and to do that I figured I'd use an fopen() and fwrite(). However, when I try to fopen() in write mode, FMS throws a 500 Internal server error. When I try fopen in read mode its fine. I've moved the log file to several locations but none seem to work. Does FMS only allow writing to certain folders? Which ones? I've tried the http folder, the data folder nothing seems to work. PHP works as I've already created some scripts that interact with the DB.
Create an account or sign in to comment