I am running:
Ubuntu server 8.10
enable_dl is On
phpshield.5.0.lin is in the extension dir and "extension=phpshield.5.0.lin" is present in my php.ini
the problem is when i open web browser http://video.mydomain.com/setup and I am getting error :
PHP script /home/mysite/video/classes/config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.2.lin. The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader.
I change with phpshield.5.2.lin and I am getting error :
Warning: dl() [function.dl]: Unable to load dynamic library ‘/usr/lib/php5/20060613+lfs/phpshield.5.2.lin' -- /usr/lib/php5/20060613+lfs/phpshield.5.2.lin: ELF file data encoding not big-endian in /home/mysite/video/classes/config.php on line 2.
Ideas? Help?
Thanks in advance
Procedure to follow for phpshield
Download phpshield from here
After download unzip and upload the file phpshield.5.2.lin in to /usr/lib/php5/20060613+lfs folder
Now you need to edit the php.ini file using the following command
sudo vi / etc/php5/apache2/php.ini
or
sudo nano / etc/php5/apache2/php.ini
add the following line at the end of the file
extension=phpshield.5.2.lin
Save and exit the file
Now you need to restart apache server using the following command
sudo /etc/init.d/apache2 restart
That’s it now check your phpmotion
I hope this helps
the error message suggests you downloaded the wrong binary. either make sure to download the binary matching your system (i386, amd64, ppc, …) or download the source code and compile it yourself
Yes ^^^^ right, you need to copy phpshield.5.2.lin into loaded extension directory.
worked like a charm. Many thanks.
What is the lfs folder?
Sorry. Up to late trying to figure out problems. Can’t read.
If anyone of you got the PHPMotion working on standalone Ubuntu, can you please let me know step by step instructions.
Thanks a lot for your help
This is a great site!maybe you can help me with my problem there’s a warning on my website that says warning cannot write to the configuration file html/includes/configure.php.
Make sure you have 444 permissions on your config.php file
you need to create a directory called download under /home/mybetterbooks/public_html/
Hope this helps