ERROR: unable to unpack Structures_Graph-1.0.4.tgz (on Windows)

You try to run :

pear install Structures_Graph

and you are greeted with ERROR: unable to unpack

C:\Program Files\Zend\ZendServer\bin\PEAR\tmp\Structures_Graph-1.0.4.tgz

Let’s go and see how we can fix this. This pear software is buggy on Windows it is not even funny. I am wondering how dedicated they are when it comes to Windows but that is a different story.

Step 1.

First let’s make sure that you run the “cmd” tool as an administrator (It may not be a requirement if you are an administrator but you never know)
Right click on the command line tool and click on administrator

Step 2.

Now lets run the following commands

pear upgrade-all
pear update-channels
pear clear-cache

Step 3.

Try to run the command again:

pear install Structures_Graph

Step 4.

If does not work we are going to install the structure graph manually

Dowload the Structures_Graph from this website
http://pear.php.net/package/Structures_Graph/download/

and extract it to your PEAR folder.
FYI: Just do a “pear list” to see what packages are installed then find their location and unpack the structure_graph to the same location.

Step 5.

Now try Execute Step 2 and Step 3
This should work if not drop me a comment below.

No releases available for package pear.PHPUnit.de (on Windows)

No releases available for package pear.PHPUnit.de/PHPUnit

You probably get this error when you try to run the following command:

pear install phpunit/PHPUnit

If you are getting this error you will need to run the following commands:

pear update-channels

then

pear clear-cache
pear install phpunit/PHPUnit

This is one of the zillion errors you will be getting when trying to install PHPUnit on Windows. Frankly I am wondering if these software are ready for Microsoft Windows.

go-pear.phar does not have a signature (Installing PEAR on Zend Server CE Windows)

1. Navigate to your ZendServer bin/PEAR folder and run the following command:

php -d phar.require_hash=0 go-pear.phar

2.  Select the default options unless you want to change them

3. For Step #12 you want to make sure that you enter the path to your php.exe

(Note:  For some reason manually entering the path to my php.exe did not work, however if i enter “12” it prompts me to navigate to the folder that contains the php.exe and it works that way).

4. That is it.

Increase Photoshop History States (Step Backward)

How many times did the “Step Backward” in Photoshop fails you? You wish you could increase its size so you can go back in time. Well i have some good news for ya;
Photoshop does allow you to increase the history states & cache Size and here are the steps:

Go to Edit -> Preference -> General

Then Click on Performance

then Adjust your History States

And Voila