[ASK]Compiling phpshield

prandah

Well-Known Member
#1
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
 

prandah

Well-Known Member
#3
hello webizen :D
thanks for reply

i hasve run it

[root@poseidon /]# /usr/local/lsws/fcgi-bin/lsphp5 -v
PHP 5.2.17 (litespeed) (built: Nov 23 2011 17:33:56)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
with the ionCube PHP Loader v4.0.11, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
[root@poseidon /]# cd /usr/local/lsws/fcgi-bin/lsphp5 -i | grep extension_dir
-bash: cd: /usr/local/lsws/fcgi-bin/lsphp5: Not a directory
[root@poseidon /]#
 

webizen

Well-Known Member
#6
1. find out which php.ini used by lsphp5
/usr/local/lsws/fcgi-bin/lsphp5 -i | grep "Loaded Configuration File"
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
 
Top