| Server IP : 51.79.230.26 / Your IP : 216.73.217.128 Web Server : LiteSpeed System : Linux sg2.exonhost.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : mukutpub ( 1151) PHP Version : 8.2.33 Disable Function : eval, show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/local/lsws/add-ons/webcachemgr/src/Panel/ |
Upload File : |
<?php
/** ******************************************
* LiteSpeed Web Server Cache Manager
*
* @author Michael Alegre
* @copyright 2026 LiteSpeed Technologies, Inc.
* @since 1.17.10
* ******************************************* */
namespace Lsc\Wp\Panel;
/**
* Value object returned by ControlPanel::getPhpBinaryParts().
*
* Separates the PHP binary path (one shell token, will be escapeshellarg'd
* by the consumer) from the options string (shell-active, library-built).
*
* @since 1.17.10
*/
class PhpBinaryParts
{
/**
* @since 1.17.10
* @var string
*/
private $binPath;
/**
* @since 1.17.10
* @var string
*/
private $optionsString;
/**
*
* @since 1.17.10
*
* @param string $binPath Filesystem path to PHP executable.
* @param string $optionsString PHP CLI flags as a shell-active string.
* May be empty.
*/
public function __construct( $binPath, $optionsString = '' )
{
$this->binPath = (string)$binPath;
$this->optionsString = (string)$optionsString;
}
/**
*
* @since 1.17.10
*
* @return string
*/
public function getBinPath()
{
return $this->binPath;
}
/**
*
* @since 1.17.10
*
* @return string
*/
public function getOptionsString()
{
return $this->optionsString;
}
}