I have downloaded phpshadow which is a php encoder
I followed whole of explanation of installing it in the tutorial such as adding php extension which was phpshadow.so
I copied this file in /usr/lib/php5/extensions
and in php.ini
I wrote this line
extension=phpshadow.so
it is the site:
http://www.phpshadow.com/index.php
I can encrypt my projects successfully
I went to my php pages all of them were encrypted
when I encrypt it it will make a backup from it too
I can’t again go to browser and again see my project when I’ve encrypted it.
How can I encrypt my pages while I can access them too?
I don’t know what’s wrong with it
I have downloaded a free trial
also I’ve downloaded phpshadow.licence too
it is the command that I try and then my project will be encrypted:
./phpshadow-encoder -l /etc/phpshadow/phpshadow.licence /srv/www/htdocs/didebansnort/
If you have any other suggestion about encoding files I would be happy to know.
Thanks.
After spending 45′ I made it work!
I tested both standard software version and online version.
Standard Software Version
Download the appropriate extension and encoder tool.
Warning! I am working in x64 Linux but I am using a 32bit version of lampp(xampp) and I needed to download the Linux 32bit version to make it work. Otherwise I was getting an “ELFCLASS64 in Unknown on line 0” in php error log.
Place the extension in your extension directory and edit your php.ini to include the file like
extension=phpshadow.soorextension="/full/path/phpshadow.so"Then download the license and place it in
/etc/phpshadow.Use the encoder to encode your php files.
Then test it!
Problems
The free license has expired since 01/08/2011. You can set your computer clock back to 30/07/2011 and it will work.
Also, let me remind you:
Finally, if you don’t place the license file in
/etc/phpshadowit won’t work.Online Version
Everything except the encryption process works as the Standard Software Version.
Warning! You have to download the license for this from here.
That license hasn’t expire yet. Also the online version doesn’t introduces the 10-second delay.
Finally, again if you don’t place the license file in
/etc/phpshadowit won’t work.TIPS
phpinfo();functionand look for *extension_dir*
phpinfo();look for Loaded Configuration File)phpinfo();orprint_r(get_loaded_extensions());