How do I install SourceGuardian?

SourceGuardian is already installed on the server your hosting account is on. To get your scripts to use SourceGuardian there are two things that must be done.

First, you need to get a template php.ini with SourceGuardian already configured in it. This can be accomplished by doing the following:
1. Login to your control panel
2. Choose "PHP Config"
3. Check the box labeled "SourceGuardian" under "Install Default php.ini"
4. Click "INSTALL PHP.INI FILE".
That will place php.ini file with the name of php.ini.default in your public_html folder.

Second, you need to rename the file from "php.ini.default" to be "php.ini" and place into whichever folder you need SourceGuardian installed.
You can do that using the file manager, ftp or ssh.


-------------------------------------------------------

The below tutorial is for users on servers not yet upgraded to apache2 and is meant for those with knowledge of extracting tools and may require SSH access to your account, but is doable over ftp.

The first step is to download the ixed package from the SourceGuardian developers website
http://www.sourceguardian.com/ixeds/, the latest package at the time of this article for 64bit linux operating systems is here:

http://www.sourceguardian.com/ixeds/ixed4.lin.x86-64.tar.gz

Create a new folder in your / directory called ixed.

mkdir ixed

Upload this file to your /ixed/ directory. Then extract it.

tar -xvzf ixed4.lin.x86-64.tar.gz

Now you need to edit your php.ini file. Add one line into your php.ini with the appropriate loader name.

Examples:
(These are not the only possible variants, and are just provided as examples)

extension=/home/username/ixed/ixed.4.3.lin # for Linux, non thread safe, PHP 4.3.x
extension=/home/username/ixed/ixed.5.0.0.lin # for Linux, non thread safe, PHP 5.0.0
extension=/home/username/ixed/ixed.5.0.1.lin # for Linux, non thread safe, PHP 5.0.1
extension=/home/username/ixed/ixed.5.0.2.lin # for Linux, non thread safe, PHP 5.0.2
extension=/home/username/ixed/ixed.5.0.lin # for Linux, non thread safe, PHP 5.0.3+

extension=/home/username/ixed/ixed.5.0.0ts.lin # for Linux, thread safe, PHP 5.0.0
extension=/home/username/ixed/ixed.5.0ts.lin # for Linux, thread safe, PHP 5.0.3+

Thats it. If your script that requires SourceGuardian is used in a directory that is not in your public_html please copy the php.ini file to the directory the script is running from.

Also if you chose to use FTP method instead of SSH method you will need to extract the .gz files on your computer at home then upload the /ixed/ directory via ftp. Then edit your php.ini file in your favorite txt editor.

  • 16 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Related Articles

ImageMagick

ImageMagick is already installed for PHP on all servers and can be accessed by the path /usr/bin....

Zend Optimizer

Zend Versions installed on Iwebhosting.com.my servers are: 3.0.1, 3.0.2, 3.2.0, and...

How do I install IonCube

Ioncube is already installed on the server your hosting account is on. To get your scripts to use...

Third Party Installations

It would depend on each specific product and its functions and needs. If you have a specific...

How do I upgrade SourceGuardian?

To upgrade your current version of SourceGuardian you will need to do the following: 1. Download...