<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 12/21/2012 02:54 PM, Rob Shambaugh wrote:
<blockquote
cite="mid:000e01cddfbd$61f6f540$25e4dfc0$@ci.winchester.va.us"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.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]-->
<div class="WordSection1">
<p class="MsoNormal">I have a virtual site setup with suPHP
enabled and web ownership given to a new user I setup. When I
open the php.ini file (in the website’s directory) and make a
couple changes inside the file, when I try to save changes I
get an error saying that I do not have write permission. I’m
logged in as the root user, who also is the owner of the
php.ini file with write permissions. Any idea why I can’t save
changes?<o:p></o:p></p>
</div>
</blockquote>
php.ini is immutable<br>
<br>
save a copy before editing<br>
chattrr -i /path/php.ini<br>
edit the file <br>
then <br>
chattr +1 /path/php.ini<br>
<br>
Gerald<br>
<br>
<br>
<br>
</body>
</html>