| Server IP : 66.29.153.156 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64 User : lastyfjz ( 1521) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | 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;
}
}