Hello,
The removal of sqlite in PHP 5.4 has not been thoroughly thought through.
In the documentation it says it has been moved to PECL.
Then you go to PECL and the only thing you find is the version from 2004,
which states that this package is not maintained and furthermore you find a
link to the former sqlite documentation on php.net, which then points you to
PECL...
Round and round we go.
This not the only problem. Copying the ext/sqlite directory from php 5.3.10 to
the php 5.4 tree and running a 'buildconf --force' does not work either.
So now there are several web apps (e.g. Roundcube, Serendipity, ...) which do
not have an sqlite3 abstraction layer, which means that you are pretty much
screwed, if you use sqlite.
Don't get me wrong, I don't have a problem with the fact that sqlite was
removed from the core, but at least there should be a) a correct documentation
how to get the functionality back and b) a way to get it working at all.
Helmut
Hello,
The removal of sqlite in PHP 5.4 has not been thoroughly thought through.
In the documentation it says it has been moved to PECL.
Then you go to PECL and the only thing you find is the version from 2004,
which states that this package is not maintained and furthermore you find a
link to the former sqlite documentation on php.net, which then points you to
PECL...Round and round we go.
This not the only problem. Copying the ext/sqlite directory from php 5.3.10 to
the php 5.4 tree and running a 'buildconf --force' does not work either.So now there are several web apps (e.g. Roundcube, Serendipity, ...) which do
not have an sqlite3 abstraction layer, which means that you are pretty much
screwed, if you use sqlite.Don't get me wrong, I don't have a problem with the fact that sqlite was
removed from the core, but at least there should be a) a correct documentation
how to get the functionality back and b) a way to get it working at all.
Moved to pecl implies it is in the pecl repository:
svn checkout https://svn.php.net/repository/pecl/sqlite/trunk sqlite
cd sqlite
phpize
./configure --with-php-config=/usr/local/bin/php-config
make
sudo make install
Moved to pecl implies it is in the pecl repository:
Ok, it would have been nice, if this had been mentioned in the documentation,
maybe with a link.
svn checkout https://svn.php.net/repository/pecl/sqlite/trunk sqlite
cd sqlite
phpize
./configure --with-php-config=/usr/local/bin/php-config
make
sudo make install
Thanks, I have used this method with the ext/sqlite dir from 5.3.10, but this
creates a loadable extension. Sorry that I didn't mention this in my first
mail. I thought that my 'buildconf' paragraph implied the following:
I want a compiled in module and for some reason my usual approach does not work.
How can I compile the sqlite extension statically into php 5.4?
Regards,
Helmut
Hello,
The removal of sqlite in PHP 5.4 has not been thoroughly thought through.
In the documentation it says it has been moved to PECL.
Then you go to PECL and the only thing you find is the version from 2004,
which states that this package is not maintained and furthermore you find a
link to the former sqlite documentation on php.net, which then points you to
PECL...Round and round we go.
Is this what you're looking for: http://svn.php.net/viewvc/pecl/sqlite/trunk/ ?
This not the only problem. Copying the ext/sqlite directory from php 5.3.10 to
the php 5.4 tree and running a 'buildconf --force' does not work either.
Not surprising. There was a reason it was dropped.
So now there are several web apps (e.g. Roundcube, Serendipity, ...) which do
not have an sqlite3 abstraction layer, which means that you are pretty much
screwed, if you use sqlite.Don't get me wrong, I don't have a problem with the fact that sqlite was
removed from the core, but at least there should be a) a correct documentation
how to get the functionality back and b) a way to get it working at all.
This was undoubtedly omitted due to lack of resources. Would you like some
assistance to show you how you can contribute to the PHP project to help out other
people hitting the same problem. Showing them how to migrate to sqlite3 is
the preferred path.
Chris
Helmut
--
Email: christopher.jones@oracle.com
Tel: +1 650 506 8630
Blog: http://blogs.oracle.com/opal/
Is this what you're looking for: http://svn.php.net/viewvc/pecl/sqlite/trunk/ ?
Yes, thank you.
This was undoubtedly omitted due to lack of resources. Would you like some
assistance to show you how you can contribute to the PHP project to help out
other
people hitting the same problem. Showing them how to migrate to sqlite3 is
the preferred path.
I'm one of the original developers of the native IBM DB2 driver for PHP.
Furthermore I am in DB2 development, which means that I'm not allowed to touch
any other code (except in very rare circumstances).
So long,
Helmut
On Sun, Apr 1, 2012 at 9:47 AM, Helmut Tessarek tessarek@evermeet.cxwrote:
Hello,
The removal of sqlite in PHP 5.4 has not been thoroughly thought through.
In the documentation it says it has been moved to PECL.
Then you go to PECL and the only thing you find is the version from 2004,
which states that this package is not maintained and furthermore you find a
link to the former sqlite documentation on php.net, which then points you
to
PECL...Round and round we go.
This not the only problem. Copying the ext/sqlite directory from php
5.3.10 to
the php 5.4 tree and running a 'buildconf --force' does not work either.So now there are several web apps (e.g. Roundcube, Serendipity, ...) which
do
not have an sqlite3 abstraction layer, which means that you are pretty much
screwed, if you use sqlite.Don't get me wrong, I don't have a problem with the fact that sqlite was
removed from the core, but at least there should be a) a correct
documentation
how to get the functionality back and b) a way to get it working at all.Helmut
--
for the reference: https://bugs.php.net/bug.php?id=60336
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu