I'm running php 5.5.12 on Windows Server 2008 with IIS7 and FastCGI.
Here's one of the log errors I'm getting:
file_put_contents(): open_basedir restriction in effect. File(C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.0.3\content\vod\test.smil) is not within the allowed path(s): (C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.0.3\content\vod;C:\Windows\TEMP\;E:\webpage;C:\php) in E:\webpage\dev\vod\createsettings.php on line 41
Here's my open_basedir
line in php.ini
:
open_basedir = "C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.0.3\content\vod;C:\Windows\TEMP\;E:\webpage;C:\php"
As you can see, the destination directory is in fact specified in open_basedir
, but it's acting as if it's restricted.
Commenting out open_basedir
and restarting IIS results in no error and everything works as expected.
Changing the destination directory to one of the other open directories (C:\Windows\TEMP
, for example) also works fine with no errors.
I've read eight pages worth of issues here but haven't seen a match. Thanks in advance for any help you can offer!