compile xcache from source?

fastproxy

Well-Known Member
#1
hi,

I tried to compile Xcache from source but it did not work for me.
The installation proccess went fine but php -v just does not show xcache.

Also, I use litespeed with apache's config file.

So eventhough i use php4.4.7 with litespeed.

When i check php -v i got:
# php -v
PHP 5.1.6 (cli) (built: Sep 12 2007 11:10:42)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.

So i guess xcache was compile with apache not litespeed.

How can i fix that? ( i dont want to use auto compile :D)

Thanks
 

fastproxy

Well-Known Member
#5
Alright, i used Litespeed's Compile PHP to recompile PHP4 with Xcache and the process went no problem and said Xcache installed.
But phpinfo does not show xcache installed anywhere?

So does that mean Xcached installed but phpinfo just does not show?


ibraries have been installed in:
/opt/lsws/phpbuild/php-4.4.7/xcache-1.2.1/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Installing shared extensions: /opt/lsws/lsphp4/lib/php/extensions/no-debug-non-zts-20020429/
ls_install: Success
 
Last edited:
Top