<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">Below is my test environment.<o:p></o:p></p>
<p class="MsoNormal">2 DB servers: 9.4 postgres<o:p></o:p></p>
<p class="MsoNormal">1 PgPool and PgpoolAdmin server: &nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">pgpool - version 3.5.4 (ekieboshi)<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">pgpoolAdmin &#8211; 3.5.3<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">php &#8211; PHP 5.6.25-2&#43;deb.sury.org~xenial&#43;1 (cli)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">While setting up pgpoolAdmin I am getting error <b><i>&#8220;/var/www/html/pgpoolAdmin-3.5.3/conf/pgmgt.conf.php write denied&#8221;,
</i></b>I gave full access(755) to apache user for pgmgt.conf.php file but still having same issue. Below error message from apache2 log.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><i>&#8220;[Tue Sep 13 18:25:12.719093 2016] [:error] [pid 19279] [client xx.xx.xx.167:57118] PHP Notice:&nbsp; Use of undefined constant _PGPOOL2_VERSION - assumed '_PGPOOL2_VERSION' in /var/www/html/pgpoolAdmin-3.5.3/bootstrap.php on line 33,
 referer: http://xx.xx.xx.xx/pgpoolAdmin-3.5.3/install/checkDirectory.php&#8221;<o:p></o:p></i></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><i><span style="color:black">Thanks,</span></i></b><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="color:black">Ashish Chauhan</span></i></b><span style="color:#1F497D"><o:p></o:p></span></p>
</div>
</body>
</html>