Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Ok since many people may be asking the same thing. Let's suppose the following. I'm currently running 2.2 E which includes Apache 2.2.22 – Mysql 5.5.24 – PHP 5.3.13 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0</p> <p>Now, to install PEAR do the following: </p> <p>Download this file: <a href="http://pear.php.net/go-pear.phar">http://pear.php.net/go-pear.phar</a></p> <p>And put it on your WAMP server directory under the PHP version on the bin folder. Run the command to install PEAR and you're over it.</p> <p><strong>Example</strong> (defaults, no change has been done)</p> <ol> <li>Get the file on the link ->http://pear.php.net/go-pear.phar</li> <li>Go to this directory C:\wamp\bin\php\php5.3.13</li> <li>Open command prompt (cmd.exe). Supposing you're using Windows Vista and higher, press Start, type "cmd.exe" and right click on it and select run as administrator/CTRL+SHIFT+Enter (Haven't tested on non-priviliges rights)</li> <li><p>Use Window's cd command to change the directory to the <em>go-pear.phar</em> file you've just downloaded. In my case I'll be pin pointing it to my own directory, so I did it like follows:</p> <p><code>cd "C:\wamp\bin\php\php5.3.13"</code></p></li> <li><p>Press Enter. You should note that instead of saying "C:\system\32" is now displaying C:\wamp\bin\php\php5.3.13</p></li> <li><p>Write the following command and press Enter:</p> <p><code>php -d phar.require_hash=0 go-pear.phar</code></p></li> <li><p>Select whether you like or not a local copy or a system one. By typing <code>system:local</code> and pressing enter you'll install a local copy. By typing <code>system</code> and pressing enter you'll install a system-wide copy.</p></li> <li><p>Type <code>yes</code> to confirm the option chosen.</p></li> <li><p>The next list of directories, will be the referring directories that PEAR will install its components. If you select from 1 - 12 you can change the directory you'd like to install. By typing <code>all</code> and pressing Enter you'll be able to change them all in a queued manner. <em>In my case, I just pressed Enter and left all defaults</em></p></li> </ol> <p><strong>DO THE FOLLOWING IN CASE YOU CONTINUE TO HAVE SOME LISTINGS</strong> 11. It is very probable that afterwards you'll receive a message like: </p> <blockquote> <p>WARNING! The include+path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. </p> </blockquote> <p>Below it will also appear:</p> <blockquote> <p>Would you like to alter php.ini ? [Y/n]:</p> </blockquote> <p>Type <code>y</code> and press enter</p> <p>This should put you running with PEAR on WAMP server :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload