Home > Dedicated Server > How to install the phpSHIELD Loaders on Linux-Windows server?

How to install the phpSHIELD Loaders on Linux-Windows server?

October 19th, 2008 Leave a comment Go to comments

The phpSHIELD is a software which is used to encode the php pages, It is an excellent product for encoding php files if you don’t require any time limiting, IP/Domain locking or the powerful licensing features contained within SourceGuardian . phpSHIELD protects your PHP Source Code with a powerful, easy to use encoder, which creates a native byte code version of the script and then encrypts it.

Most of application require  the phpSHIELD loaders like the phpmotion

How to install the phpSHIELD Loaders on Linux server?
• Download the appropriate OS version phpSHIELD Loaders though

http://www.phpshield.com/loaders/index.php URL

1.For Linux server

#cd /usr/src/
#wget http://www.phpshield.com/loaders/phpshield.loaders.linux.zip

2. For Windows Server

http://www.phpshield.com/loaders/phpshield.loaders.windows.zip

• uncompress the phpSHIELD loader zip file
•  You will need to determine the path to your php “extensions library” use a phpinfo() file to check this. It will look something like this /usr/local/lib/php/extensions/no-debug-non-zts-20060613(example only)

Or

you can use following command on ssh shell to check extension library path

#php –i |grep extension_dir

•  check the php version then you will then need to copy 1 file to this “extension library” folder. If php 5.2.X version is running on server then copy the phpshield.5.2.lin (for Linux server) OR phpshield.5.2.win (for Windows server) file to the “extensions library” location.

•  Open  the php.ini configuration file (located in /usr/local/lib/ or you can use php -i |grep php.ini command to find exact running php.ini file location ), and add the following line below extension_dir line

extension="phpshield.5.2.lin" (for Linux server)

OR

extension="phpshield.5.2.win" (for Windows server)

That’s it , phpSHIELD Loaders is successfully installed on your server, You can verify it by creating php info file under your public_html folder,if it is sucessfully installed you will see following phpSHILED information  in php info file.

phpshield How to install the phpSHIELD Loaders on Linux Windows server?

Enjoy: D

Regards

Alex P

  1. November 12th, 2008 at 11:20 | #1

    Thanks a lot mate, been wandering around just to find out this one.
    Got one suggestion though,
    I’m using Ubuntu Intrepid, the php.ini location is correct, but the added line is changed as this:
    extension=phpshield.5.2.lin
    (no quote mark)
    And, it works :)

  2. Ish Kumar
    December 5th, 2008 at 19:24 | #2

    thanks

  3. Tamil movies reviews songs and downloads
    December 9th, 2008 at 15:29 | #3

    I am in a server where I can’t access my extension library folder. Any help for me?

  4. March 18th, 2009 at 19:07 | #4

    Hello Bhopal,

    First you will have to find out the working php.ini file,please use “php -i |grep php.ini ” command to search it then search the exntension_dir path in php.ini file and go to that directory.

  5. Richard
    March 25th, 2009 at 10:56 | #5

    Hey I just ran my php.info and I can’t find my extensions library. I am running centos and php5.2.6. There is something called an extensions_dir, is this the same thing?

  6. March 25th, 2009 at 19:41 | #6

    HEllo Richard,

    Yes extensions_dir is an “extension library” folder. Please copy the phpshield.5.2.lin (file to the “extensions library” location.

    Regards
    Alex P

  7. Rishoban
    April 3rd, 2009 at 00:07 | #7

    Hello, I was trying to install phpmotion v2 in a sub directory in my host. I followed everything and edited some files to install in a sub directory. But, when I try to install I get that common Phpshield error. So, I asked help from my host provider.

    Now, they sent me a reply saying that, they have installed everything that needed for phpmotion, and manually installed phpshield in php.ini. But, still the script could not be installed.

    And my host provider asked me to show this to phpmotion support and ask what’s wrong.
    http://stats.kuala.arvixe.com/phpinfo.php

    *And the phpmotion forum told me to show this to you. And I am now here!

    Please, help me.
    Thanks

    This is the location i have uploaded the setup files:
    http://www.lankatalks.com/phpmotion/

  8. April 3rd, 2009 at 01:12 | #8

    Hello Rishoban ,

    I have checked phpinfo of your server , it seems that phpSHIELD is not properly installed , I would like to suggest you please contact your Hosting provider and ask him reinstall it, Please forward him following steps to install phpshield

    1)Download the source

    cd /usr/src
       wget http://www.phpshield.com/loaders/phpshield.loaders.linux.zip
      unzip phpshield.loaders.linux.zip
    

    2)Serach PHP extension dir using following command

    php -i |grep extension_dir

    You will see output like (extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20060613 => /usr/local/lib/php/extensions/no-debug-non-zts-20060613)

    Then copy phpshield.5.2.lin file under extension_dir folder ( /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ )
    3)Search php.ini file using command

    php –i |grep php.ini

    open it in your favorite editor
    and added following line

    extension="phpshield.5.2.lin"

    3)then it will be show in phpinfo file.

    phpSHIELD
    phpSHIELD Loader Support 	enabled 
    phpSHIELD Loader Version 	5.0.1 
    phpSHIELD Loader Build Number 	0x0000000C 
    

    It is already installed on our server you can check it with http://linuxwindowsmaster.com/phpinfo.php URL.

    Regards
    Alex P

  9. Rishoban
    April 4th, 2009 at 08:11 | #9

    @admin
    Thank you for your quick reply admin. I sent them this answer, And I got a reply email like this;

    “Hello Rishoban,

    Please post this on that forum. We are very familiar with installing PHP extensions and have done thousands across servers. This is in:

    /usr/local/lib/php.ini:
    extension_dir = “/usr/local/lib/php/extensions/no-debug-non-zts-20060613″
    extension=”phpshield/phpshield.5.2.lin”

    And, the file structure is:

    root@kuala [/usr/local/lib/php/extensions/no-debug-non-zts-20060613/phpshield]# ls -la
    total 1472
    drwxr-xr-x 2 root root 4096 Apr 2 03:35 ./
    drwxr-xr-x 3 root root 4096 Apr 2 03:36 ../
    -rw-r–r– 1 root root 57688 Jan 15 09:13 phpshield.4.3.lin
    -rw-r–r– 1 root root 58872 Jan 15 09:13 phpshield.4.3ts.lin
    -rw-r–r– 1 root root 57688 Jan 15 09:13 phpshield.4.4.lin
    -rw-r–r– 1 root root 58872 Jan 15 09:14 phpshield.4.4ts.lin
    -rw-r–r– 1 root root 58200 Jan 15 09:14 phpshield.5.0.0.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:14 phpshield.5.0.0ts.lin
    -rw-r–r– 1 root root 58200 Jan 15 09:21 phpshield.5.0.1.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:21 phpshield.5.0.1ts.lin
    -rw-r–r– 1 root root 58200 Jan 15 09:21 phpshield.5.0.2.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:21 phpshield.5.0.2ts.lin
    -rw-r–r– 1 root root 58200 Jan 15 09:15 phpshield.5.0.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:15 phpshield.5.0ts.lin
    -rw-r–r– 1 root root 61240 Jan 15 09:15 phpshield.5.1.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:15 phpshield.5.1ts.lin
    -rw-r–r– 1 root root 61240 Jan 15 09:16 phpshield.5.2.lin
    -rw-r–r– 1 root root 61272 Jan 15 09:16 phpshield.5.2ts.lin
    -rw-r–r– 1 root root 444873 Jan 20 14:08 phpshield.loaders.linux.zip

    And, here is the phpinfo.php file after that -

    http://stats.kuala.arvixe.com/phpinfo.php

    There is definitely something wrong with phpshield here and a developer at phpshield needs to look at what isn’t working with it.”

    Please, help me. What might be the problem?

  10. April 4th, 2009 at 17:16 | #10

    Hello Rishoban ,
    Yes, there are definitely something wrong with your hosting provider server apache or php configuration ,If they has installed it then why it didn’t show in php info file ? If you look phpinfo on our site you will details about phpshield there http://linuxwindowsmaster.com/phpinfo.php.

    Regards
    Alex P

  11. jack parler
    October 4th, 2009 at 11:26 | #11

    There is obviously a lot to know about this. I think you made some good points in Features also.

  12. October 21st, 2009 at 04:18 | #12

    Hi, I can?t understand how to add your site in my rss reader. Can you Help me, please :)

  13. Sebastien
    February 11th, 2010 at 15:30 | #13

    Same problem here.. I tried everything…

    I saw many persons that was not able to use the phpSHIELD.. maybe it simply don’t work with “Apache MPM Worker “… It’s is my only guest, I pass all other solutions…

    Any new idea ?

  14. February 15th, 2010 at 07:18 | #14

    phpShield works with Apache MPM Worker but it can be a pain to get it installed no matter what MPM/Platform you are using.

  15. February 16th, 2010 at 08:21 | #15

    Thanks a lot buddy..!!! I was testing phpmotion script and your article helped me..
    keep it up..!!!

  16. mark
    February 25th, 2010 at 12:21 | #16

    hello
    in http://linuxwindowsmaster.com/phpinfo.php you have phpshield version 5.0.1
    i don’t understand why you talk about phpshield 5.1 or 5.2 …
    also when i downloaded from phpshield there where no 5.1 or 5.2 versions
    only 5.0.1 or 5.0.2
    now can you tell what’s the difference?

    in php.ini i wrote phpshield.5.0.2.lin and didn’t worked, then i’ve renamed the file phpshield.5.2.lin and got the same error …
    can you tell what should i do?

  17. Marcelo
    March 1st, 2010 at 19:59 | #17

    Hello,

    Thank you for this tutorial.

    Worked 100% on cPanel/RHEL server with apache 2/php 5.2

  18. May 2nd, 2010 at 18:41 | #18

    @Marcelo
    Hello,
    Sorry for delay in response, There is no any big difference in 5.1 or 5.2 . I have added same phpshield.5.2.lin extension in php.ini file but not sure why it show 5.0.1 version.

    Protected Script Loaders will be updated periodically and the latest loaders are always freely available
    from:
    http://www.phpshield.com/loaders/
    3.1 Loader filename structure
    The following provides an overview of the loader naming conventions:
    ixed.X.Y.Zts.os
    X.Y – major PHP version number (4.3 for 4.3.x, 5.0 for 5.0.x, 5.1 for 5.1.x, 5.2 for 5.2.x)
    Z – minor PHP version number (2 for 5.0.2) This is optional and most loaders DOES NOT have the minor
    version number in the file name.
    This part may be missed in the loader name which means that this loader is for all higher PHP versions:
    ixed.4.3.lin – for all PHP 4.3.x versions
    ixed.5.0.0.lin – for PHP 5.0.0 only
    ixed.5.0.1.lin – for PHP 5.0.1 only
    ixed.5.0.2.lin – for PHP 5.0.2 only
    ixed.5.0.lin – for all PHP 5.0.3+ versions and higher
    ixed.5.1.lin – for all PHP 5.1 versions and higher
    ixed.5.2.lin – for all PHP 5.2 versions and higher
    ixed.5.3.lin – for all PHP 5.3 versions and higher

    Regards
    Alex P

  19. May 5th, 2010 at 17:03 | #19

    @Dedi Eko

    Did you actually figure out how to install the PHP Loader on a Linux Server? If yes, PLEASE call me! I’ve been trying for two days and can’t figure it out. If you respond to this message with text I WILL NOT BE ABLE TO DO IT. Please CALL ME if you know how to do it. I’ll send you money, anything. I just need to figure this out.

    Thanks,

    Mike
    (415)385-8140

  20. May 5th, 2010 at 17:05 | #20

    @Dedi Eko

    @Dedi Eko

    Did you actually figure out how to install the PHP Loader on a Linux Server? If yes, PLEASE call me! I’ve been trying for two days and can’t figure it out. If you respond to this message with text I WILL NOT BE ABLE TO DO IT. Please CALL ME if you know how to do it. I’ll send you money, anything. I just need to figure this out.

    Thanks,

    Mike
    (415)385-8140

  21. February 16th, 2011 at 17:25 | #21

    Dear Mike
    Sorry for delay in response I was in business tour and due t limited internet access not able to reply your post.
    Still do you need ay help?

  22. Abhay
    February 15th, 2013 at 08:47 | #22

    I have added extension and path in php.ini and kept phpsheild file in library folder of php but in phpinfo
    phpSHIELD
    phpSHIELD Loader Support enabled
    phpSHIELD Loader Version 5.0.1
    phpSHIELD Loader Build Number 0x0000000C

    not showing

  23. Abhay
    February 15th, 2013 at 08:48 | #23

    @Abhay
    i am using os windows vista

  1. April 10th, 2009 at 23:00 | #1