Since I'm running litespeed 2 cpu license on a test server with php suexec disabled, I want to compare all 3 opcode caches. Just curious am I correct in assuming for litespeed, nginx and apache I'd use their respective phpize locations ?
i.e.
for apache
for nginx
for litespeed just going to build xcache from litespeed admin console
or
- litespeed lsapi = /usr/local/lsws/lsphp5/bin/phpize
- nginx php-fpm = /nginxphp/bin/phpize
- apache mod_php = /usr/bin/phpize
i.e.
Code:
/usr/local/lsws/lsphp5/bin/phpize
./configure --enable-xcache --with-php-config=/usr/local/lsws/lsphp5/bin/php-config
/nginxphp/bin/phpize
./configure --enable-xcache --with-php-config=/nginxphp/bin/php-config
/usr/bin/phpize
./configure --enable-xcache --with-php-config=/usr/bin/php-config
Code:
/etc/php.ini
zend_extension = /usr/lib64/20090626/xcache.so
Code:
/nginxphp/etc/php.ini
zend_extension = /nginxphp/lib/php/20090626/xcache.so
or
Code:
/usr/local/lsws/lsphp5/etc/php.ini
/usr/local/lsws/lsphp5/lib/php/20090626/xcache.so
Code:
locate phpize
/nginxphp/bin/phpize
/nginxphp/lib/php/build/phpize.m4
/nginxphp/man/man1/phpize.1
/usr/bin/phpize
/usr/lib64/build/phpize.m4
/usr/local/lsws/lsphp5/bin/phpize
/usr/local/lsws/lsphp5/lib/php/build/phpize.m4
/usr/local/lsws/lsphp5/man/man1/phpize.1
/usr/local/lsws/phpbuild/php-5.3.4/scripts/phpize
/usr/local/lsws/phpbuild/php-5.3.4/scripts/phpize.in
/usr/local/lsws/phpbuild/php-5.3.4/scripts/phpize.m4
/usr/local/lsws/phpbuild/php-5.3.4/scripts/man1/phpize.1
/usr/local/lsws/phpbuild/php-5.3.4/scripts/man1/phpize.1.in
/usr/local/lsws/phpbuild/php-5.3.5/scripts/phpize
/usr/local/lsws/phpbuild/php-5.3.5/scripts/phpize.in
/usr/local/lsws/phpbuild/php-5.3.5/scripts/phpize.m4
/usr/local/lsws/phpbuild/php-5.3.5/scripts/man1/phpize.1
/usr/local/lsws/phpbuild/php-5.3.5/scripts/man1/phpize.1.in
/usr/local/src/nginxphp/php-5.3.5/scripts/phpize
/usr/local/src/nginxphp/php-5.3.5/scripts/phpize.in
/usr/local/src/nginxphp/php-5.3.5/scripts/phpize.m4
/usr/local/src/nginxphp/php-5.3.5/scripts/man1/phpize.1
/usr/local/src/nginxphp/php-5.3.5/scripts/man1/phpize.1.in
/usr/local/src/php535/php-5.3.5/scripts/phpize
/usr/local/src/php535/php-5.3.5/scripts/phpize.in
/usr/local/src/php535/php-5.3.5/scripts/phpize.m4
/usr/local/src/php535/php-5.3.5/scripts/man1/phpize.1
/usr/local/src/php535/php-5.3.5/scripts/man1/phpize.1.in
/usr/share/man/man1/phpize.1
/usr/share/man/man1/phpize.1.gz
Code:
locate php-config
/nginxphp/bin/php-config
/nginxphp/man/man1/php-config.1
/usr/bin/php-config
/usr/local/lsws/lsphp5/bin/php-config
/usr/local/lsws/lsphp5/man/man1/php-config.1
/usr/local/lsws/phpbuild/php-5.3.4/scripts/php-config
/usr/local/lsws/phpbuild/php-5.3.4/scripts/php-config.in
/usr/local/lsws/phpbuild/php-5.3.4/scripts/man1/php-config.1
/usr/local/lsws/phpbuild/php-5.3.4/scripts/man1/php-config.1.in
/usr/local/lsws/phpbuild/php-5.3.5/scripts/php-config
/usr/local/lsws/phpbuild/php-5.3.5/scripts/php-config.in
/usr/local/lsws/phpbuild/php-5.3.5/scripts/man1/php-config.1
/usr/local/lsws/phpbuild/php-5.3.5/scripts/man1/php-config.1.in
/usr/local/src/nginxphp/php-5.3.5/scripts/php-config
/usr/local/src/nginxphp/php-5.3.5/scripts/php-config.in
/usr/local/src/nginxphp/php-5.3.5/scripts/man1/php-config.1
/usr/local/src/nginxphp/php-5.3.5/scripts/man1/php-config.1.in
/usr/local/src/php535/php-5.3.5/scripts/php-config
/usr/local/src/php535/php-5.3.5/scripts/php-config.in
/usr/local/src/php535/php-5.3.5/scripts/man1/php-config.1
/usr/local/src/php535/php-5.3.5/scripts/man1/php-config.1.in
/usr/share/man/man1/php-config.1
Last edited: