[BlueOnyx:20133] Re: Solarspeed PHP error

Michael Stauber mstauber at blueonyx.it
Tue Oct 11 10:25:23 -05 2016


Hi Colin,

> [root at jupiter web]# /home/solarspeed/php/bin/php -v
> PHP 5.6.13 (cli) (built: Sep 11 2015 21:47:29)

That's a pretty ancient one. The latest 5.6 is currently 5.6.25 and I'll
be releasing 5.6.26 later tonight. Please consider to upgrade.

> symbol lookup error: /home/solarspeed/php/lib/php/20131226/pdo_sqlite.so: undefined symbol: sqlite3_libversion
> [Tue Oct 11 09:48:00 2016] [error] [client 2.97.215.7] Premature end of script headers: info.php

Please take a look into /home/solarspeed/php/etc/php.d/ where you find
several *.ini files. Find the one that loads pdo_sqlite.so and remove
it. That will prevent the error from happening. I don't know why, but it
seems that sqlite support in that build isn't working at all, so you
could as well disable it.

While at it, could you please run this command as well and report the
output?

]# ldd /home/solarspeed/php/lib/php/20131226/pdo_sqlite.so

It should report something like this:

        linux-vdso.so.1 =>  (0x00007ffd895dd000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f9575066000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f9574cd2000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9574ab4000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003e83800000)

The SQlite support in 5.6.25 (currently the latest one in the store for
5208R) works fine:

[root at 5208r packages]# /home/solarspeed/php/bin/php -v
PHP 5.6.25 (cli) (built: Sep 14 2016 01:29:42)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from
ioncube24.com (unconfigured) v5.0.15, Copyright (c) 2002-2015, by
ionCube Ltd.

[root at 5208r packages]# /home/solarspeed/php/bin/php -m|grep sq
mssql
mysql
mysqli
mysqlnd
pdo_mysql
sqlite3

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list