OlgerDiekstra Posted July 24, 2018 Share Posted July 24, 2018 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. Link to comment Share on other sites More sharing options...
ggt667 Posted July 24, 2018 Share Posted July 24, 2018 Try the server's Documents folder Link to comment Share on other sites More sharing options...
OlgerDiekstra Posted July 24, 2018 Author Share Posted July 24, 2018 Did that, no go. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 2075 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now