<?php

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

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 = array('5'=>
		 array(
		 	 '5.3.8',
		 	 '5.3.6',
		 	 '5.3.5',
		 	 '5.2.17',
		     '5.2.9',
		     '5.1.6'),
		 '4'=>
		 array('4.4.9',
		       '4.4.8'));

define ('LSAPI_VERSION', '5.5');
define ('SUHOSIN_VERSION', '0.9.32.1');
define ('APC_VERSION', '3.1.9');
define ('XCACHE_VERSION', '1.3.2');
define ('MEMCACHE_VERSION', '2.2.6');
//define ('MEMCACHED_VERSION', '1.0.2');

				

$DEFAULT_PHP_PARAMS = array(
	'5' => '--with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv',
	'4' => '--with-mysql  --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring');


include_once( 'buildfunc.inc.php' );

?>
