Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/dophpandsuexecconf

<script type="text/javascript" src="%MagicRevision:/yui-gen/utilities_json/utilities_json.js%"></script>
<script type="text/javascript" src="%MagicRevision:/js/hidecells_optimized.js%"></script>
<script type="text/javascript" src="%MagicRevision:/js/sorttable.js%"></script>
<style>
.th { align:left; text-align:left; }
</style>

!config_ok=1!

<h2>New Configuration</h2>
<blockquote>
<table class="sortable" id="phpconfig">
<tr>
    <th>Option</th>
    <th>Configured Value</th>
</tr>
<tr>
    <td>Default PHP Version (.php files)</td>
    <td nonsortable="true">%phpversion%</td>
</tr>
<tr>
    <td>PHP 5 Handler</td>
    <td>%php5%</td>
</tr>
!hasphp4bin=1!
<tr>
    <td>PHP 4 Handler</td>
    <td>%php4%</td>
</tr>
!hasphp4bin!
<tr>
    <td>Suexec</td>
    <td>%suexec_display%</td>
</tr>
</table>
</blockquote>

<h2>Generated php.conf</h2>
<blockquote>
<textarea name="phpconf" rows="8" cols="80">%new_config%</textarea>
</blockquote>

<div>
!dryrun=1!
<span class="red">This is a dry run. These settings have NOT been applied.</span>
<form method="POST" action="../scripts2/dophpandsuexecconf">
<input type="hidden" name="phpversion" value="%phpversion%">
<input type="hidden" name="php4" value="%php4%">
<input type="hidden" name="php5" value="%php5%">
<input type="hidden" name="suexec" value="%suexec%">
<input type="submit" value="Apply Settings"  class="btn-primary" />
</form>
!dryrun!

!dryrun=0!
These settings are now active.<br /><br />
The MIME types associated with PHP may have changed.<br />
If you experience problems with PHP related settings in .htaccess files, ensure<br />
those files use the MIME types specified above (the first value listed after AddType.)
!dryrun!
</div>
!config_ok!

!config_ok=0!
<div>
The configuration you selected is invalid or not possible.  Please go back and try again.
<div class="errors">%new_config%</div>
</div>
!config_ok!
Back to Directory File Manager