Author Topic: PHP Shield.....why bother? There should be two flavors  (Read 4115 times)

john mustache

  • Newbie
  • *
  • Posts: 17
PHP Shield.....why bother? There should be two flavors
« on: November 29, 2008, 07:19:30 AM »
I'm extremely happy you offer this script free of charge, but there's several types of server and site owners

1. Liesure - who run their site as a family type thing and it's not even searchable in search engines. Which phpshield, ioncube and any other ridiculous form of protection isn't necessary
2. business type - who run their site for money and have high traffic - totall necessary

With that, I run a liesure site which has been up for 5 years completely open to the public with no problems from hackers or anything. I don't even require logins or anything. You can simply leave messages at your liesure.

I use

PIII 733 Meg form factor pc with Windows XP
Devside WAMP
Mysql 5
PHP 5.2
phpBB2 - Forum
Zina - streaming audio web server

My site is run on port :8080 on verizon FIOS home internet. I run it on there because verizon blocks port 80. All of my server support is run directly on my pc, there is "0" FTP involved.

I've saved phpshield.5.2.win in the www/php5/ext directory I've edited all of the required files in the instruction since I would like to install phpmotion in a "video" subdirectory.

Therefore those particular files have been edited accordingly with the video/ sub directory edit.

Here is a chunk from my php.ini file which I've edited for phpshield which didn't do anything after I restarted apache

Code: [Select]
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.
extension=”phpshield.5.2.win”;

; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.

;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll

I've rebooted the server and no matter what I still get the following error

PHP script C:\www\webroot\video\classes\config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.2.win. The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader.



Please help. Thank you for your assistance

reesy

  • Full Member
  • ***
  • Posts: 447
Re: PHP Shield.....why bother? There should be two flavors
« Reply #1 on: November 29, 2008, 07:36:22 AM »
One reason its free is most probably because the Ioncube encoders, or Zend encoders cost thousands, whereas the phpshield encoders are a coniderably cheaper.

What do you not understand of this message "The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader."
I think its pretty clear what you have to do?

If your saying protecting the work you do is "ridiculous" please let me know what you can do for me for free so I can possibly resell it for profit as would many who would use the work of others to capitalize on IF it was not protected in some way.

john mustache

  • Newbie
  • *
  • Posts: 17
Re: PHP Shield.....why bother? There should be two flavors
« Reply #2 on: November 29, 2008, 07:46:30 AM »
My "work" is family video's. Nobody even would have the slightest idea how to get to my site unless I tell them, that's why protection is of no concern to me. Like I said, it's been up for over 5 years, I use coppermine as well and have over 10,000 pictures which are fully commentable. Nothing but family comments.

Now, as far as the loader is concerned, I did visit, I did get a license, I did install and it doesn't load anything.


Here's what I get trying to encode the config.php file

Encoding, please wait...
C:\phpshield.loaders.windows\config.php - file is already processed by phpSHIELD [5]
1 files, 0 processed, 1 errors

Encoding finished.

And I still can't get past the shield error on install.
« Last Edit: November 29, 2008, 08:03:26 AM by john mustache »

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2415
Re: PHP Shield.....why bother? There should be two flavors
« Reply #3 on: November 29, 2008, 08:07:27 AM »
PHPshield isn't used to protect your website from hackers but to prevent people stealing the code & re-branding, etc...

John, you do not need to encode the file, it is already encoded. The problem you are having is with the loaders.

john mustache

  • Newbie
  • *
  • Posts: 17
Re: PHP Shield.....why bother? There should be two flavors
« Reply #4 on: November 29, 2008, 08:29:34 AM »
What could be reasons for the loaders not functioning?

As shown above in my chunk of php.ini file. I've added the loader line of code

extension=”phpshield.5.2.win”;


In the correct location of php.ini

and I've copied the loader file phpshield.5.2.win to the ext directory where the php extensions are supposed to be stored.

That's what it says to do and it's supposed to work.
« Last Edit: November 29, 2008, 08:43:31 AM by john mustache »

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2415
Re: PHP Shield.....why bother? There should be two flavors
« Reply #5 on: November 29, 2008, 10:07:31 AM »
Have you restarted the webserver (Apache)? You must do these for changes to php.ini to take effect.

john mustache

  • Newbie
  • *
  • Posts: 17
Re: PHP Shield.....why bother? There should be two flavors
« Reply #6 on: November 29, 2008, 10:49:48 AM »
I've restarted apache, restarted mysql (not that I had too, I just did) and that didn't work. So I rebooted , then let apache restart. Then I shut apache down and rebooted again for good measure.

Still nothing, same loader error on install.

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2415
Re: PHP Shield.....why bother? There should be two flavors
« Reply #7 on: November 29, 2008, 11:07:29 AM »
Can you send me the url to your site in a pm? And a link to a phpinfo() so I can have a closer look.

john mustache

  • Newbie
  • *
  • Posts: 17
Re: PHP Shield.....why bother? There should be two flavors
« Reply #8 on: November 29, 2008, 11:22:27 AM »
Hi oac, I have sent  your requested information. Thank you

john mustache

  • Newbie
  • *
  • Posts: 17
Re: PHP Shield.....why bother? There should be two flavors
« Reply #9 on: November 29, 2008, 03:24:09 PM »
Jesus christmas, honestly, there really is no "real" instruction for this phpshield module. Every server side WAMP/LAMP or server host has  a different file structure or environment. I literally put the module in every directory and stopped and started apache about 60 x's before it finally worked.

In this directory

C:\www\Apache22\lib

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2415
Re: PHP Shield.....why bother? There should be two flavors
« Reply #10 on: December 01, 2008, 04:29:42 AM »
Sorry I didn't have time to look, have you solved the problem now?

frankie

  • Administrator
  • Hero Member
  • *****
  • Posts: 6661
  • PHPmotion Developer
Re: PHP Shield.....why bother? There should be two flavors
« Reply #11 on: December 02, 2008, 03:33:09 PM »
john,

you have everything right but the loader is not seen because you used quotes....

this is the correct way to declare php extensions:

=> extension=phpshield.5.2.win


What could be reasons for the loaders not functioning?

As shown above in my chunk of php.ini file. I've added the loader line of code

extension=”phpshield.5.2.win”;


In the correct location of php.ini

and I've copied the loader file phpshield.5.2.win to the ext directory where the php extensions are supposed to be stored.

That's what it says to do and it's supposed to work.

bbm

  • Guest
Re: PHP Shield.....why bother? There should be two flavors
« Reply #12 on: December 02, 2008, 06:04:19 PM »
I'm still having trouble with mine... (I use LIN)...
I have the same thing you have... I edited the php.ini file and copied the loader...
Still get the error... :(