Author Topic: [How TO] Install PHPmotion on PHP5.2.5 Server  (Read 25203 times)

inmotion

  • Administrator
  • Hero Member
  • *****
  • Posts: 2788
  • PHPmotion Developer
    • PHPmotion Demo
[How TO] Install PHPmotion on PHP5.2.5 Server
« on: December 05, 2007, 06:13:23 AM »
A new version of PHP is now out (5.2.5)

This new version has made changes to the way that dynamic libraries are loaded. PHPmotion uses a dynamic library (phpshiled) which is thus affected.

The solution is show below - You will need root ssh access

1) Follow all the normal PHPmotion setup instructions to the end.

2) 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)

3) 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.

Note: f you are on a freebsd server it will be phpshield.5.2.fre

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

cp -a /full/path/to/you/ftp/folder/phpshield/phpshield.5.2.lin /full/path/to/your/php/extensions/direcory/phpshield.5.2.lin