403Webshell
Server IP : 192.158.238.246  /  Your IP : 18.216.78.190
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/lsws/admin/html.6.0.8/utility/build_php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/admin/html.6.0.8/utility/build_php/buildconf.inc.php
<?php

define ('LEGAL', 1);
define ('TITLE', 'Compile PHP with LSAPI');
define ('OPTION_VERSION', 3);

define ('BUILD_DIR', $_SERVER['LS_SERVER_ROOT'] . 'phpbuild');
define ('LAST_CONF', BUILD_DIR . '/savedconfig.'); // actual file will include . php base version.

define ('DEFAULT_INSTALL_DIR', $_SERVER['LS_SERVER_ROOT'].'lsphp'); // actual dir will include . php base version.

$PHP_VER = [
	'8' => [
		'8.0.7'],
	'7' => [
		'7.4.20',
		'7.3.28',
		'7.2.34',
		'7.1.33',
		'7.0.33'],
	'5' => [
		'5.6.40',
		'5.5.38',
		'5.4.45',
		'5.3.29']
];

define ('LSAPI_VERSION', '7.8');
define ('SUHOSIN_VERSION', '0.9.38');
define ('APC_VERSION', '3.1.9');		// http://pecl.php.net/package/APC
define ('XCACHE_VERSION', '3.2.0');		// http://xcache.lighttpd.net/
define ('MEMCACHE_VERSION', '2.2.7');	// http://pecl.php.net/package/memcache
define ('MEMCACHED_VERSION', '2.2.0'); // http://pecl.php.net/package/memcached
define ('MEMCACHED7_VERSION', '3.1.5'); // http://pecl.php.net/package/memcached for php7 only
define ('OPCACHE_VERSION', '7.0.5');	// http://pecl.php.net/package/ZendOpcache

$DEFAULT_PHP_PARAMS = [
	'8' => '--with-mysqli --with-zlib --enable-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-pdo-mysql --enable-ftp --with-zip --with-curl --enable-soap --enable-xml --with-openssl --enable-bcmath',
	'7' => '--with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-mcrypt --with-pdo-mysql --enable-ftp --enable-zip --with-curl --enable-soap --enable-xml --enable-json  --with-openssl --enable-bcmath',
	'5' => '--with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-mysql --with-mcrypt --with-pdo --with-pdo-mysql --enable-ftp --enable-zip --with-curl --enable-soap --enable-xml --enable-json  --with-openssl --enable-bcmath',
	'4' => '--with-mysql  --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring',
	];


include_once( 'buildfunc.inc.php' );

Youez - 2016 - github.com/yon3zu
LinuXploit