$path) { $rp = $path . DIRECTORY_SEPARATOR . $fileName; if (is_file($rp)) { if($fileName == 'PEAR' . DIRECTORY_SEPARATOR .'Registry.php'){ $path = $rp; } if($fileName == 'HTTP' . DIRECTORY_SEPARATOR . 'Request2.php'){ $path = $rp; } return array('result' => true, 'path' => $path); } } return false; } function pear_prerequisutes() { $exists = include_exists('PEAR' . DIRECTORY_SEPARATOR .'Registry.php'); if($exists['result']) { require_once 'PEAR/Registry.php'; $reg = new PEAR_Registry(); $packages = $reg->listPackages(); if(in_array('http_request2', $packages)) { $results = array('pear'=>"Pass", 'http_request2'=>"Pass", 'path'=>$exists['path']); }else{ $results = array('pear'=>"Pass", 'http_request2'=>"Fail", 'path'=>$exists['path']); } }else{ $results = array('pear'=>"Fail", 'http_request2'=>"Fail", 'path'=>$exists['path']); } return $results; } function http_requests2_exists() { $exists = include_exists('HTTP' . DIRECTORY_SEPARATOR . 'Request2.php'); if($exists['result']) { return array('result' => "Pass", 'path'=> $exists['path']); }else{ return array('result' => "Fail", 'path'=> $exists['path']); } } function can_write() { $dir = getcwd(); $t = is_writable($dir); return $t; } function getShmopMessage($shmop) { $message = null; if($shmop == true) { $message = "Pass"; }else if($shmop == false){ $message = "Warning"; }else{ $message = "Fail"; } return $message; } function getMbstringMessage($mbstring) { $message = null; if($mbstring == true) { $message = "Pass"; }else if($mbstring == false){ $message = "Warning"; }else{ $message = "Fail"; } return $message; } function versionPhpCheck() { if (version_compare(PHP_VERSION, '5.4.2') >= 0) { return "Pass"; }else{ return "Fail"; } } $bool = array(true=>"Pass", false=>"Fail"); $version = versionPhpCheck(); $extensions = get_loaded_extensions(); $writeable = can_write(); $openssl = in_array('openssl', $extensions); $pdo_sqlite = in_array('pdo_sqlite', $extensions); $curl = in_array('curl', $extensions); ?>

Checks php proxy requirements

* Run this page from a web server directory that includes the proxy.php file
* It's recommended to remove this file from web server once all below tests pass

Manually test the web server's configuration by clicking here. If the proxy configuration file (proxy.config) displays or gets downloaded, the server is not configured properly to use this proxy (see guide for more details).

Check PHP version 5.4.2 or newer? ' . $version . ''; ?>
Check if directory is writable? ' . $bool[$writeable] . ''; ?>
Check for OpenSSL extension? ' . $bool[$openssl] . ''; ?>
Check for PDO Sqlite extension? ' . $bool[$pdo_sqlite] . ''; ?>
Check for Curl? ' . $bool[$curl] . ''; ?>

" . $inipath . ""; ?>