Installing PGID3
First thing first, make sure you have PHP-GTK2 installed.
Linux
Step One: Make sure PHP is installed correctly.First run the command `which php`. The result should be '/usr/bin/php'. If it is not, for example it ended up '/usr/local/bin/php' then you should create a symlink: `ln -s /usr/local/bin/php /usr/bin/php`, which should require you to have root permissions.Next, run the command `php -i | grep GTK`. If you see the result 'GTK+ support => enabled' you are ready to go. If not you need to load the php_gtk2.so extension in your php.ini file.Step Two: Download, Extract, Install.Download PGID3.Extract the tarball, it creates a new directory.
- cd src
- tar -xjf ~/downloads/pgid3-2.1.tar.bz2
- cd pgid3-2.1
Install onto the system. This will require root permissions. If your system is one where you use sudo instead of su then do that.Step Three: Done. Use PGID3.
- make install
After that, you should be able to run PGID3 from the command line, or bind the command to your window manager menu system.
- pgid3
Windows
Step One: Download PGID3.It is required, honest. Download PGID3.Step Two: Extract PGID3.Extract the ZIP file to 'C:\Program Files\'. When you do this it will create a new directory, 'C:\Program Files\pgid3-2.1', I would strongly suggest renaming it to 'C:\Program Files\PGID3'.Step Three: Tell windows what to do with 'dot phpg' files.If you have done this before then there is no reason for you to do it again. Else, navigate to 'C:\Program Files\PGID3\src\bin' and find the 'pgid3.phpg' file. Right click it, and if "Open With..." is an option choose it, else just choose "Open".Choose 'I will select what program to use to open this file'.Click the browse button at the bottom of the new window that should appear asking what program you want to use to run this file. Browse to 'C:\Program Files\PHP-GTK2' and choose the 'php-win.exe'. Be sure the "Always use this program" checkbox is checked, and then click OK.Step Four: Done. Use PGID3.You can now double-click the pgid3.phpg file to launch PGID3. You can also create a shortcut where ever you want to pgid3.phpg, like on your desktop or something.