<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <title>Installing and configuring PHP extension PEAR (PECL) on Windows machine</title> <style> <!-- p.MsoNormal {margin-top:0mm; margin-right:0mm; margin-bottom:10.0pt; margin-left:0mm; line-height:115%; font-size:12.0pt; font-family:"Times New Roman","serif";} h2 {margin-top:12.0pt; margin-right:0mm; margin-bottom:3.0pt; margin-left:0mm; line-height:115%; page-break-after:avoid; font-size:14.0pt; font-family:"Cambria","serif"; font-weight:bold; font-style:italic} a:link {color:blue; text-decoration:underline;} a:visited {color:purple; text-decoration:underline;} p {margin-right:0mm; margin-left:0mm; font-size:12.0pt; font-family:"Times New Roman","serif";} pre {margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; margin-left:0mm; margin-right:0mm; margin-top:0mm} tt {font-family:"Courier New";} p.para {margin-right:0mm; margin-left:0mm; font-size:12.0pt; font-family:"Times New Roman","serif"} p.simpara {margin-right:0mm; margin-left:0mm; font-size:12.0pt; font-family:"Times New Roman","serif"} ol {margin-bottom:0mm;} h1 {margin-top:12.0pt; margin-right:0mm; margin-bottom:3.0pt; margin-left:0mm; page-break-after:avoid; font-size:16.0pt; font-family:Arial;} --> </style> <meta name="keywords" content="scripting, open source, web server, dynamic web page, CMS, database, data, technology, PECL. PEAR, applications, security, web technology, web applications" /> <meta name="description" content="A step by step tutorial on how to setup and configure PHP extension (PEAR/PECL) on Windows IIS web server" /> </head> <body lang="EN-US" link="#0000FF" vlink="#800080" topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <div class="WordSection1"> <h1 align="center" style="margin-top: 0; margin-bottom: 0"> <span style="font-weight: 400"><font size="4">&lt; <span style="text-decoration: none"><font color="#000000"> <a title="Running and Testing PHP Engine on Windows" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb3.html"> Running and Testing PHP Engine on Windows</a></font></span> | <a title="Java and open source - information, tutorials, install, setup, configure" target="_top" href="http://www.javaguicodexample.com/"> Java &amp; Friends</a>&nbsp; | <span style="text-decoration: none"> <font color="#000000"> <a title="WinPcap on Windows XP Pro SP2 - download, install and test" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb5.html"> WinPcap on Windows XP Pro SP2</a></font></span> &gt;</font></span></h1> <hr noshade color="#FF3300" /> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <h1 align="center" style="margin-bottom:0mm;margin-bottom:.0001pt; text-align:center"><b><font size="6" face="Arial"> <span style="line-height:115%;font-weight:400">PHP and PEAR/PECL on Windows XP Pro SP2</span></font></b></h1> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"><b> <font face="Arial">What do we have in this session?</font></b></p> <ol> <li> <h1 style="margin-bottom:0mm;margin-bottom:0; margin-top:0"> <span style="font-weight: 400"><font size="3" face="Arial">PHP and PEAR/PECL</font></span></h1> </li> <li> <h1 style="margin:0 0mm;"><span style="font-weight: 400"> <font size="3" face="Arial">The PHP Extension Community Library (PECL)</font></span></h1> </li> <li> <h1 style="margin:0 0mm;"><span style="font-weight: 400"> <font size="3" face="Arial">Configuring and Updating PEAR package</font></span></h1> </li> <li> <h1 style="margin-bottom:0; margin-top:0"> <span style="font-weight: 400"><font size="3" face="Arial">Running the pear Command from Windows Console</font></span></h1> </li> </ol> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; /* 728x90, created 5/16/08 javaos */ google_ad_slot = "1917524460"; google_ad_width = 728; google_ad_height = 90; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"><b> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height:115%; font-weight:bold">PHP and PEAR/PECL</span></font></b></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">PEAR is short for &quot;<span class="quote">PHP Extension and Application Repository</span>&quot; and is pronounced just like the pear fruit. The purpose of PEAR is to provide:</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="simpara" style="margin-top:0mm;margin-right:0mm;margin-bottom:0mm; margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt"> <span style="font-size:12.0pt"><font size="3" face="Arial">1.</font></span><font size="3" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial">A structured library of open-source code for PHP users.</font></p> <p class="simpara" style="margin-top:0mm;margin-right:0mm;margin-bottom:0mm; margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt"> <span style="font-size:12.0pt"><font size="3" face="Arial">2.</font></span><font size="3" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial">A system for code distribution and package maintenance.</font></p> <p class="simpara" style="margin-top:0mm;margin-right:0mm;margin-bottom:0mm; margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt"> <span style="font-size:12.0pt"><font size="3" face="Arial">3.</font></span><font size="3" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial">A standard style for code written in PHP.</font></p> <p class="simpara" style="margin-top:0mm;margin-right:0mm;margin-bottom:0mm; margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt"> <span style="font-size:12.0pt"><font size="3" face="Arial">4.</font></span><font size="3" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial">The PHP Extension Community Library (PECL).</font></p> <p class="simpara" style="margin-top:0mm;margin-right:0mm;margin-bottom:0mm; margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt"> <span style="font-size:12.0pt"><font size="3" face="Arial">5.</font></span><font size="3" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font face="Arial">A web site, mailing lists and download mirrors to support the PHP/PEAR community.</font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">PEAR is a community-driven project governed by its developers. PEAR&#39;s governing bodies are subdivided into the <a href="http://pear.php.net/group/" target="_blank" title="the PEAR Group maintaining PEAR for PHP extensions/modules"> PEAR Group</a>, Collectives, and a President. PEAR&#39;s constitution (adopted in March 2007) defining these groups are documented <a href="http://pear.php.net/manual/en/constitution.php" target="_blank" title="PEAR for PHP consortium"> here</a>. The PEAR project was founded in 1999 by Stig S. Bakken.</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <h2 style="margin:0mm;margin-bottom:.0001pt"><b><i> <font size="3" face="Times New Roman"> <span style="font-size:12.0pt;line-height:115%; font-family:&quot;Arial&quot;;font-style:normal">The PHP Extension Community Library (PECL)</span></font></i></b></h2> <p style="margin:0mm;margin-bottom:.0001pt"><font size="3" face="Arial"> <span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">PECL (pronounced &quot;<span class="quote">pickle</span>&quot;) is a separate project that distributes PHP extensions (compiled code written in C, such as the <a href="http://pecl.php.net/PDO" target="_blank" title="PHP data object - PHP extension modules/package"> PDO</a> extension). PECL extensions are also distributed as packages and can be installed using the PEAR installer with the </span></font><tt> <font face="Arial">pecl</font></tt><font face="Arial"> command. More information and all PECL packages can be found at <a href="http://pecl.php.net/" target="_blank" title="PECL homepage - PHP extensions"> PECL homepage</a>.</font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <h2 style="margin:0mm;margin-bottom:.0001pt"><b><i> <font size="3" face="Times New Roman"> <span style="font-size:12.0pt;line-height:115%; font-family:&quot;Arial&quot;;font-style:normal">Configuring and Updating PEAR package</span></font></i></b></h2> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Assuming IIS and PHP are working nicely, now, let configure and update PEAR packages. Firstly, manually execute the batch file, <b>go-pear.bat</b> located in </span> </font><tt><font face="Arial">c:\php\go-pear.bat</font></tt><font face="Arial">. The batch file should reside under PHP root folder.</font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="503" height="265" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp063.png" alt="Executing the batch file, go-pear.bat located in c:\php\go-pear.bat from Windows console" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">The setup will ask you some questions and afterwards the PEAR Package Manager will be installed in the path, which you have specified during installation. Run go-pear at the command prompt.</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="605" height="367" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp064.png" alt="Running the go-pear at the Windows command prompt" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="605" height="319" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp065.png" alt="Running the go-pear at the Windows command prompt - accepting the default settings" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Just press the Enter key to accept the defaults.</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="605" height="319" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp066.png" alt="Running the go-pear at the Windows command prompt - the download process begins" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="669" height="319" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp067.png" alt="Running the go-pear at the Windows command prompt - the download and install process for PHP extension was succeeded" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p style="margin:0mm;margin-bottom:.0001pt"><span style="font-weight: 400"> <font size="3" face="Arial"><span style="font-size:12.0pt">Finally you have to add that installation path to your </span></font><tt><font face="Arial">PATH</font></tt><font face="Arial"> environment. Either do this manually (Start &gt; Control Panel &gt; System &gt; Environment) or run (double-click) the newly generated </font></span> <span style="font-weight: 700"><tt><font face="Arial" size="3">PEAR_ENV.reg</font></tt></span><span style="font-weight: 400"><font face="Arial"> that&#39;s now found in the PHP root directory. In this case we, double click the reg file. This will modify the Windows registry file and Windows path environment variables automatically.</font></span></p> <p style="margin:0mm;margin-bottom:.0001pt"><font size="3" face="Arial"> <span style="font-size:12.0pt; font-weight:400">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="483" height="358" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp068.png" alt="Running the go-pear at the Windows command prompt - adding the registry keys by running PEAR_ENV.reg file" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Click Yes and then OK.</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="495" height="126" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp069.png" alt="Running the go-pear at the Windows command prompt - registry auto editing prompt message" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="486" height="126" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp070.png" alt="Running the go-pear at the Windows command prompt - registry auto editing prompt message for successful operation" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">You can verify the previous task in Windows Environment Variables page as shown in the following screenshot.</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="para" style="margin:0mm;margin-bottom:.0001pt" align="center"> <script type="text/javascript"> <!-- google_ad_client = "pub-8089415323104206"; /* 300x250, created 5/16/08javaos */ google_ad_slot = "8146009330"; google_ad_width = 300; google_ad_height = 250; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="para" style="margin:0mm;margin-bottom:.0001pt" align="center"> <font face="Arial"> ----------------------------------------------------------------------</font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="384" height="430" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp071.png" alt="Running the go-pear at the Windows command prompt - the PHP path settings in the environment variables looks fine" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"><b> <font size="3" face="Arial"><span style="font-size:12.0pt;font-weight:bold"> Running the pear Command from Windows Console</span></font></b></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Now, pear command (pear.bat) is available. After that you can access the PEAR Package Manager by running </span></font><tt><font face="Arial">pear</font></tt><font face="Arial"> command from Windows command prompt.</font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="621" height="715" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp072.png" alt="Running the pear command from Windows command prompt without any option" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">To update your PEAR packages, request/load <a href="http://pear.php.net/go-pear" target="_blank" title="loading the PEAR PHP update page in browser"> http://pear.php.net/go-pear</a> page from your Internet browser. </span> </font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="535" height="535" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp073.png" alt="To update your PEAR packages, request or load http://pear.php.net/go-pear page from your Internet browser" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Save the file to a local and name it </span></font><tt><font face="Arial">go-pear.php</font><font face="Times New Roman"><span style="font-family:&quot;Arial&quot;">.</span></font></tt></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="563" height="419" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp074.png" alt="Saving the file to a local and name it go-pear.php" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" align="center" style="margin:0mm;margin-bottom:.0001pt;text-align: center"><font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="483" height="358" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp075.png" alt="The go-pear.php file is ready to be run" /></span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="para" style="margin:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt">Then run the following command from the command prompt and follow the step-by-step instructions.</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <blockquote> <pre><strong><b><font size="3" face="Courier New"><span style="font-size:12.0pt; ">C:\&gt;php go-pear.php</span></font></b></strong></pre> </blockquote> <pre><font size="3" face="Arial"> </font></pre> <p style="margin:0mm;margin-bottom:.0001pt"><font size="3" face="Arial"> <span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:.0001pt; text-align:center"><font size="3" face="Arial"> <span style="font-size: 12.0pt;line-height:115%"> <img border="0" width="677" height="283" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp076.png" alt="Running the php go-pear.php from Windows console" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:.0001pt; text-align:center"><font size="3" face="Arial"> <span style="font-size: 12.0pt;line-height:115%"> <img border="0" width="653" height="283" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp077.png" alt="Updating the PEAR packages from Windows command line" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:.0001pt; text-align:center"><font size="3" face="Arial"> <span style="font-size: 12.0pt;line-height:115%"> <img border="0" width="653" height="283" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp078.png" alt="The PEAR, PHP extension update is in progress" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:.0001pt; text-align:center"><font size="3" face="Arial"> <span style="font-size: 12.0pt;line-height:115%"> <img border="0" width="653" height="283" src="snortiisphpbaseperladodb_files/snortmysqlphperliisoinkmasterwinxp079.png" alt="The PEAR, PHP extension update was completed" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%"> Well, PEAR should be &#39;installed&#39; and configured for update successfully at this stage.</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;<div align="center"><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=527221&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=85440"></script></div></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> &nbsp;</p> <p style="margin:0mm;margin-bottom:.0001pt">&nbsp;</p> <hr noshade color="#FF3300" /> <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "3545464564"; google_ad_width = 728; google_ad_height = 15; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <h1 align="center" style="margin-top: 0; margin-bottom: 0"> <span style="font-weight: 400"><font size="4">&lt; <span style="text-decoration: none"><font color="#000000"> <a title="Running and Testing PHP Engine on Windows" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb3.html"> Running and Testing PHP Engine on Windows</a></font></span> | <a title="Java and open source - information, tutorials, install, setup, configure" target="_top" href="http://www.javaguicodexample.com/"> Java &amp; Friends</a>&nbsp; | <span style="text-decoration: none"> <font color="#000000"> <a title="WinPcap on Windows XP Pro SP2 - download, install and test" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb5.html"> WinPcap on Windows XP Pro SP2</a></font></span> &gt;</font></span></h1> </div> </body> </html>