503 Error when viewing PHP INFO with Xcache installed

skooboy

Active Member
#1
CentOS 6.6 x86_64
WHM/Cpanel 11.46.1
LiteSpeed 4.2.20 Enterprise 2-CPU
PHP 5.6.4
Xcache 3.2.0

I go to view the PHP INFO in the admin panel of my Invision Power Board and it immediately gives a 503 Service Unavailable error. This never happened before and only stated after compiling PHP with Xcache.

2015-01-20 22:54:53.181 NOTICE [98.x.x.x:60756-0#APVH_forum.com] Max retries has been reached, 503!
2015-01-20 22:54:53.182 NOTICE [98.x.x.x:60756-0#APVH_forum.com] oops! 503 Service Unavailable
2015-01-20 22:54:53.182 NOTICE [98.x.x.x:60756-0#APVH_forum.com] Content len: 0, Request line: 'GET /admin/index.php?adsess=<removed>&app=core&module=diagnostics&section=diagnostics&phpinfo=1

Here's the Xcache settings:

Code:
extension_dir = "/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20131226"
extension="xcache.so"
xcache.admin.user=""
xcache.admin.pass=""         
xcache.admin.enable_auth="on"
xcache.test="Off"
xcache.coredump_directory=""
xcache.disable_on_crash="off"

xcache.cacher="On"
xcache.stat="On"
xcache.shm_scheme="mmap"
xcache.size="95M"
xcache.count="1"
xcache.slots="8K"  
xcache.ttl="18000"  
xcache.gc_interval="300"
xcache.var_size="16M"
xcache.var_count="2"
xcache.var_slots="8K"
xcache.var_ttl="3600"
xcache.var_maxttl="7200"
xcache.var_gc_interval="300"
xcache.mmap_path="/dev/zero"       
xcache.readonly_protection="Off"
LSPHP5 Settings from Admin Console:

http://prntscr.com/5v39es

Any ideas? Thanks.
 
Last edited:

skooboy

Active Member
#2
I just noticed this in stderr.log at the same time as the 503 error.

Code:
2015-01-20 22:59:27.975 [STDERR] lsphp5:public_html/forum/admin/index.php: symbol lookup error: /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20131226/pdo_sqlite.so: undefined symbol: sqlite3_libversion
 

mistwang

LiteSpeed Staff
#4
I just noticed this in stderr.log at the same time as the 503 error.

Code:
2015-01-20 22:59:27.975 [STDERR] lsphp5:public_html/forum/admin/index.php: symbol lookup error: /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20131226/pdo_sqlite.so: undefined symbol: sqlite3_libversion
you need to rebuild your PHP binary, pdo_sqlite extension is broken. or take out pdo_sqlite.so out from the php.ini .
 
Top