Ralf,all,
This is probably a pear/upstream issue, but I wanted to make you aware of it
as well. During install of egw 1.8.005 svn on new server, I encountered a
problem installing pear/MDB2_Driver_sqlite. pear install refused to install the
sqlite extension complaining that it required PHP extension “sqlite”. I have the
PHP-sqlite package installed:
[06:48 phoinix:/srv/http/htdocs] # pmq | grep sqlite
php-sqlite 5.5.6-1
sqlite 3.8.1-2
sqlite-doc 3.8.1-2
sqlite-tcl 3.8.1-2
and both extension=pdo_sqlite.so, and extension=sqlite3.so enabled in php.ini.
Despite having php-sqlite installed and the extensions enabled in php.ini, pear
refused to install pear/MDB2_Driver_sqlite with the following error:
[06:51 phoinix:/srv/http/htdocs] # pear install pear/MDB2_Driver_sqlite
pear/MDB2_Driver_sqlite requires PHP extension "sqlite"
No valid packages found
install failed
pear refused to install the driver requiring a --force to install it:
[06:53 phoinix:/srv/http/htdocs] # pear install -f MDB2_Driver_sqlite
warning: pear/MDB2_Driver_sqlite requires PHP extension "sqlite"
downloading MDB2_Driver_sqlite-1.4.1.tgz …
Starting to download MDB2_Driver_sqlite-1.4.1.tgz (30,921 bytes)
…done: 30,921 bytes
install ok: channel://pear.php.net/MDB2_Driver_sqlite-1.4.1
I don’t understand why pear is not seeing the php-sqlite extension. My only
guess is that since the extension in php.ini is “sqlite3.so” pear doesn’t find
it. I also don’t know why it doesn’t see the pdo_sqlite.so extension.
Does anybody have any additional insight into this problem? I’ll look for a
place to report it at pear.php.net. If anyone has a link handy, I would
appreciate that as well.
Just for information, my full pear install ended up as:
[06:53 phoinix:/srv/http/htdocs] # pear list
Installed packages, channel pear.php.net:
Package Version State
Archive_Tar 1.3.11 stable
Auth_SASL 1.0.6 stable
Console_Getopt 1.3.1 stable
DB 1.7.14 stable
Log 1.12.7 stable
MDB2 2.4.1 stable
MDB2_Driver_mysql 1.4.1 stable
MDB2_Driver_sqlite 1.4.1 stable
PEAR 1.9.4 stable
Structures_Graph 1.0.4 stable
XML_Feed_Parser 1.0.5 stable
XML_Util 1.2.1 stable
The only other issues on pear install was that pear suggested the beta
versions of Auth_SASL2 and Console_GetoptPlus. However, when attempting install,
you receive failures due to the “beta” status of the packages:
Failed to download pear/Auth_SASL2 within preferred state “stable”, latest
release is version 0.1.0, stability “beta”, use
"channel://pear.php.net/Auth_SASL2-0.1.0" to install
Failed to download pear/Console_GetoptPlus within preferred state “stable”,
latest release is version 1.0.0RC1, stability “beta”, use
"channel://pear.php.net/Console_GetoptPlus-1.0.0RC1" to install
Does egw make use of any of the features in the beta packages?
–
David C. Rankin, J.D.,P.E.
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don’t have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers