View Single Post
  #1  
Old 06-02-2010, 11:15 AM
-j0 -j0 is offline
New Member
 
Join Date: Jun 2010
Posts: 3
Exclamation chrooting by LiteSpeed Issue

Hello,

Am trying here to chroot php with LiteSpeed,

I did use php 5.2.9 first and then 5.2.13, with the same problem in the same line

now i follow this thread

http://forums.digitalpoint.com/showthread.php?t=1355344

and this ( seems copy/paste )

http://r00tsecurity.org/forums/topic...d-with-chroot/

now i did compiled the apache with the following command

Code:
./configure --enable-bcmath --enable-calendar --enable-dbase --enable-exif --enable-gd-native-ttf --enable-libxml --enable-ftp --enable-magic-quotes --enable-mbstring --enable-soap --enable-wddx --enable-zip --prefix=/usr/local --with-litespeed --with-config-file-path=/usr/local/lib --enable-suhosin --with-bz2 --with-curl=/opt/curlssl/ --with-curlwrappers --with-freetype-dir=/usr --with-gd --with-gettext --with-imap=/opt/php_with_imap_client/ --with-kerberos --with-imap-ssl=/usr --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2 --with-libxml-dir=/opt/xml2/ --with-mcrypt --with-mhash=/opt/mhash/ --with-mime-magic --with-mm --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl --enable-pdo=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-sqlite=shared  --with-pic --with-png-dir=/usr --with-ttf --with-xmlrpc --with-xpm-dir=/usr --with-xsl=/opt/xslt/ --with-zlib --with-zlib-dir=/usr --with-pspell --with-pear --enable-sockets --with-snmp --enable-ucd-snmp-hack --with-tidy=/usr
the output error was

Code:
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

Notice: Following unknown configure options were used:

--with-litespeed
--enable-suhosin

Check './configure --help' for available options

[root@server php-5.2.9]#
which mean

Code:
--with-litespeed
--enable-suhosin
so then i run "make"

Code:
[root@server php-5.2.9]# make
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
[root@server php-5.2.9]#
which look here that the error

Code:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
then the same error with "make install"

Code:
[root@server php-5.2.9]# make install
same "make" resualt and error
my server info

uname -a

Code:
[root@server php-5.2.9]# uname -a
Linux website.me.com 2.6.18-194.3.1.el5.028stab069.6 #1 SMP Wed May 26 18:31:05 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@server php-5.2.9]#
any help ??
Reply With Quote