[ASK]Compiling phpshield

Discussion in 'PHP' started by prandah, Dec 27, 2011.

  1. prandah

    prandah Member

    hello
    to day i install script ( custom script )
    but i confuse install phpshield
    where i must put it ?
    i have download then put phpshield extension ti /opt/lsws/php5/
    but still my web can't be open
    any advice for this help ?
    i still confuse about where i must put my exstension_dir
    php
  2. webizen

    webizen New Member

    assuming your lsws is install in /opt/lsws.

    do following to find extension_dir
  3. prandah

    prandah Member

    hello webizen :D
    thanks for reply

    i hasve run it

  4. webizen

    webizen New Member

    lsphp5 is a binary file *NOT* directory.

    just do below (no 'cd').
  5. prandah

    prandah Member

    ah yess
    i'm wrong :)

    here is for result
  6. webizen

    webizen New Member

    1. find out which php.ini used by lsphp5
    2. modify php.ini found in 1
    extension_dir = ./
    change to
    extension_dir = /path/to/dir/extension*

    * you need to put actual directory path to hold extension.

    3. restart lsws
    /usr/local/lsws/bin/lswsctrl restart

Share This Page