Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>After days of googling I've found an answer. Here is it. <a href="http://www.pear-forum.org/topic2565.html" rel="noreferrer">How to solve</a>:</p> <p>With <strong>admin permission</strong> (start cmd with admin privileges):</p> <ol> <li><p>Run the <code>go-pear.bat</code> that comes with the default PHP installation. It'll installs PEAR, but it's going to generate an error when installing <code>Structures_Graph</code>. IMO Pear needs this package to generate the package dependency (graph), since it's missing it not allow us to install or upgrade any other package.</p></li> <li><p>Download and uncompress <code>Structures_Graph</code> from the pear.php.net website (<a href="http://download.pear.php.net/package/Structures_Graph-1.0.4.tgz" rel="noreferrer">direct link</a>). Then copy the <code>Structure</code> folder into the PEAR folder. The archive has three folders: docs, Structures, tests. We only need the Structures one. Copy the Structures folder to your <code>PHP_ROOT_DIRECTORY\PEAR</code> directory. So if you installed PHP on <code>C:\Web\php-5.3.5</code> copy the <code>Structures</code> folder to <code>C:\Web\php-5.3.5\PEAR\</code>, the result should be: <code>C:\Web\php-5.3.5\PEAR\Structures</code></p></li> <li><p>Do <code>pear install Structures_Graph</code>. Even though the files are present, Structures_Graph is not really installed (we had a problem during installation). So we need to run the command above.</p></li> <li><p>Do <code>pear upgrade PEAR</code>. This upgrades PEAR itself to the current version.</p></li> <li><p>Do <code>pear upgrade Console_Getopt</code>. This upgrades Console_Getopt to the current version and now we can manage and install any pear package.</p></li> </ol>
 

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