I have a form sitting on IIS7. It submits information to our staff for changes to AD, and runs some processes through the tectite formmail.php script. We have PHP 5.2.17 installed, and we currently need that version for compatibility with a JBOSS site that we also pull data from. I'm at a loss for 2 errors:
1. fopen appears to not be able to write temp files despite explicitly allowing the remote URL behavior in php.ini. I've tried icacls to add Users and CREATOR OWNER read/write/execute permissions to the network service profile temp directory to no effect, as well as changing the app pool profile value to 0. i've tried using SCRATH_PAD and defining the path to a different temp directory without success.
2. for likely a related reason, formmail.php throws a "fails to send email" error when processing the script. I'm betting that the two alerts are because of the fopen problem, and not two separate problems.
perhaps PHP is misconfigured? I'm not sure how though otherwise. I'm aware of the security changes between IIS6 and 7, but the work arounds i'm familiar with aren't working.
any help is appreciated.