X7ROOT File Manager
Current Path:
/usr/local/lsws/admin/html.6.2.2/utility/build_php
usr
/
local
/
lsws
/
admin
/
html.6.2.2
/
utility
/
build_php
/
📁
..
📄
buildPHP.php
(567 B)
📄
buildProgress.php
(367 B)
📄
buildStep1.php
(1.45 KB)
📄
buildStep2.php
(9.35 KB)
📄
buildStep3.php
(3.46 KB)
📄
buildStep4.php
(4.22 KB)
📄
build_common.template
(565 B)
📄
build_install.template
(4 KB)
📄
build_install_ext.template
(1.72 KB)
📄
build_manual_run.template
(1.05 KB)
📄
build_prepare.template
(5.29 KB)
📄
build_prepare_ext.template
(2.6 KB)
📄
buildconf.inc.php
(1.96 KB)
📄
buildfunc.inc.php
(26.81 KB)
Editing: buildStep1.php
<?php if (!defined('LEGAL')) return; echo '<h2 class="bottom_bar">' . TITLE . '</h2>'; if ( isset($check->pass_val['err']['bash'])) { echo '<div class="panel_error" align=left><span class="gui_error">' . $check->pass_val['err']['bash'] . '</span></div>'; } ?> <form name="buildphp" method="post"> <input type="hidden" name="step" value="1"> <table width="100%" class="xtbl" border="0" cellpadding="5" cellspacing="1"> <tr class="xtbl_header"> <td colspan="3" class="xtbl_title"> Step 1 : Select a PHP version </td> </tr> <?php $basevers = array_keys($PHP_VER); rsort($basevers); $buf = ''; foreach($basevers as $base_ver) { $versions = $PHP_VER[$base_ver]; $buf .= '<tr class="xtbl_value"><td class="xtbl_label">PHP ' . $base_ver . '</td><td class="icon"></td><td>'; $buf .= '<select name="php_version'. $base_ver . '">'; foreach( $versions as $o ) { $buf .= "<option value=\"$o\">$o</option>"; } $buf .= '</select> '; $buf .= '<input type="submit" name="build' . $base_ver . '" value="Next">' . "</td></tr>\n"; } echo $buf; ?> </table> </form> <p class="field_note"> * If you want to use a version not listed here, you can manually update the settings in /usr/local/lsws/admin/html/utility/build_php/buildconf.inc.php.</p> <p class="field_note"> ** For more information regarding LSPHP, please visit <a href="https://docs.litespeedtech.com/lsws/extapp/php/" target="_blank" rel="noopener noreferrer">LiteSpeed wiki</a>.</p>
Upload File
Create Folder