vpanel-stack/panel/ui/vhost/vhosts-edit.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2024-10-30 15:10:16 -07:00
<include href="header.html" />
<!-- php-fpm version -->
<p>
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Change PHP Version for {{ @vhost_array.virtualhost }}</legend>
<label for="fpmmax">Change PHP Version <small>(Default on this server is {{ @vhost_array.fpm_version }})</small></label>
<select id="fpm_version" name="fpm_version">
<repeat group="{{ @vhost_array.fpm_versions_array }}" value="{{ @fpm_version }}">
<check if="{{ @fpm_version==@vhost_array.php }}">
<true>
<option value="{{ @fpm_version }}" selected>{{ @fpm_version }}</option>
</true>
<false>
<option value="{{ @fpm_version }}">{{ @fpm_version }}</option>
</false>
</check>
</repeat>
</select>
<input type="submit" value="Submit">
<button id="reset" type="reset">Reset</button><br>
<b>PHP Version</b> It's recommended to either use the default version (listed above) or the very latest version (highest number) if that works for your website. Only use an older version if you absolutely must do so to make your website code work.<br>
</fieldset>
</form>
</p>
<include href="footer.html" />