Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
I'm running Windows Server 2008 and IIS 7.5. I have PHP 5.39 installed and running (other websites running PHP fine).
When trying to install LHC, I originally got the "Make sure that cache/* is writable" error. So, I enabled modify/write permissions on the folder and subfolders for user IIS_IUSRS.
Now when going to maxedgeweb.com/lhc I'm getting the same error but on a subfolder:
[message:protected] => Directory cache/cacheconfig/ not writable!
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => Z:\xxxxxxxxx\lhc\lib\core\lhtpl\tpl.php
[line:protected] => 15
[trace:Exception:private] => Array
The "xxxxx" are blanked out for security.
I have confirmed that the cacheconfig folder has the same permissions as the cache folder.
I've heard of others running LiveHelper on IIS successfully, so am I missing something?
Oh, and I have donated before. Love the product.
Thanks for your help!
-Michael
Offline
Ok, I found my own solution. It varies depending on how things are set up, so here are the instructions based on what you find.
I ended up adding write permissions to the user: IUSR.
The first thing to do is to create a simple PHP file on the concerned website. (It's important to create the file on the concerned website because each website can have a different setting.) The content of this file should be:
[== PHP ==]
<?php var_dump(ini_get('fastcgi.impersonate')); ?>
Navigate to this file using a browser.
** Scenario 1 **
If your browser shows :
[== Undefined ==]
string(1) "1"
Then, you need to execute the following command (you need to replace "Default Web Site" by the name you gave to your website in IIS). I found it easier to navigate to C:\windows\system32 to run appcmd.exe:
[== Undefined ==]
%windir%\system32\inetsrv\appcmd.exe list config "Default Web Site" /section:anonymousAuthentication
You will receive an answer which looks like this :
[== Undefined ==]
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" userName="IUSR" />
</authentication>
</security>
</system.webServer>
The information you are looking for is the value of the username attribute of the anonymousAutthentification tag.
If this value is not empty, its content is the name of the user you need to give write permissions to.
If this value is empty or if the attribute is simply missing, you need to give write permissions to IIS AppPool\AppPoolName (replace "AppPoolName" with the name of your website's application pool).
** Scenario 2 **
If your browser shows :
[== Undefined ==]
string(1) "0"
You need to give write permissions to IIS AppPool\AppPoolName (replace "AppPoolName" with the name of your website's application pool).
Offline
Pages: 1