Skip to main content

Whaddya know how to install PHPMotion script?

Are you having issue installing the PHPMotion version 2.0? Here's a simple guide to help you resolve this issue.

Web Server Background:

  • Server is running Linux Apache environment
  • PHP 5.2.x version

Installation of PHPMotion version 2.0

  • Identify your existing web server environment.
  • Create a php.info file to your webserver with this code " "
  • With the information from phpinfo, you will be able to identify the right version to download e.g. 4.o or 5.x php released.
  • Download the script (www.phpmotion.com), go to download section
  • Unzip the file to your local folder.
  • Upload these files and folders to your webserver, in root directory.
  • CHMOD all the following files and directories to 777 the following folders
    /setup
    /pictures
    /classes
    /temp
    /logs
    /addons
    /uploads
    /uploads/avi
    /uploads/thumbs
    /uploads/audio
    /uploads/audio/temp
    /uploads/pictures
  • CHMOD all the following files and directories to 755
    /cgi-bin/all files in there
    /cgi-bin/audio/all files in there
  • Start the installation wizard by going to http://www.king.net/setup (replace king.net with your real domain name)
  • Follow and provide the information needed e.g. MySQL database username and password, etc.

When I first check my installation for www.king.net, I've got this error:

Warning: dl() [function.dl]: Temporary module name should contain only filename in /home/xxx/public_html/classes/config.php on line 2PHP script /home/xxx/public_html/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.

To resolve the phpSHIELD error, check your php extension_dir. You can find this information through your www.king.net/info.php, see above what specific code to put to info.php file.

Ex. extension_dir = /usr/local/lib/php/extensions/ ;

You will then need to copy 1 file from your ftp folder into this "extension library". The file to copy is located in the "phpshield" folder and its named phpshield.5.2.lin.

Example of how to copy this file. (This is done via ssh as root user)

cp -a /your_local/folder/phpshield/phpshield.5.2.lin /usr/local/lib/php/extensions

where; /usr/local/lib/php/extensions is the location of your extension_dir

Now, visit www.king.net and you will be able to see the default install of PHPMotion version 2.0. Please note replace www.king.net with your actual domain name.

I hope this help.

Comments

  1. what is this "php extension_dir"
    wher i can find it?

    ReplyDelete
  2. @sinha,

    You can see your current web hosting configuration setting through reading phpinfo.

    If you don't have phpinfo setup to your website, please read this article:
    http://www.sm.tv/7

    The phpinfo will provide you all the information about your webserver. You may also approach your hosting service provider to help you out.

    Hope this help. Post back.

    ReplyDelete
  3. "Now, visit www.king.net and you will be able to see the default install of PHPMotion version 2.0"

    Nope not there....

    ReplyDelete
  4. The installation was done in a test environment, only using KING.NET as example.

    Sorry our test website is no longer active.

    If they release a new version. I might try to install it again to post feedback.

    Cheers to you.

    ReplyDelete
  5. I have no idea what the usr/local/ etc... stuff is located.. Where do I find those directories?

    ReplyDelete

Post a Comment

Popular posts from this blog

Alternative Social Networks

If you are planning to create your  social network  e.g. similar to Facebook. Here's a short list of alternative software's: Open Source and Free​ http://buddypress.org/  - Wordpress (Open Source and Free) http://elgg.org/  - (Open Source and Free) Commercial Social Networks software http://www.socialengine.com/  ($299 Stand Alone, $29/mo Cloud) http://www.jomsocial.com/  (run with Joomla, need to know CMS) http://www.boonex.com/  (very expensive, $399 for Standard) http://www.anahitapolis.com/ http://www.oxwall.org/ http://sharetronix.com/ http://www.moosocial.com/ http://www.jcow.net/ http://phpdolphin.com http://www.grou.ps  (from free to Commercial, I left my networks and they are selling it  http://www.phpfox.com/  (I used this before, it's hard to maintain. I moved to NING but left too after it was sold to another company) http://www.ning.com  (I don't recommend using this service, it's hard to export your data when it's time to move) S

Learning Vulnerability Scanning by KING.NET

Learning Vulnerability Scanning is fun and easy. So I hope you enjoy reading this short how to guide on how to use vulnerability scanning to secure your servers and networks. NMAP is the swiss tool that you need to learn if you're serious in Cyber Security profession. The NMAP tool can be use with NSE scripting (Nmap Scripting Engine) to automate your tasks. For example using NSE Script using a  single vulnerability (cold fusion)  to scan our test lab machine. root@kali:~# nmap -v -p 80  --script http-vuln-cve2010-2861  10.11.1.220 Starting Nmap 6.47 ( http://nmap.org ) at 2016-07-22 17:34 EDT NSE: Loaded 1 scripts for scanning. NSE: Script Pre-scanning. Initiating ARP Ping Scan at 17:34 Scanning 10.11.1.220 [1 port] Completed ARP Ping Scan at 17:34, 0.04s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 17:34 Completed Parallel DNS resolution of 1 host. at 17:35, 13.01s elapsed Initiating SYN Stealth Scan at 17:35 Scanning 10.11.1.220 [1 port] Comp