| |
Extensions Directory
Forum /
Installation /
Extensions Directory
Reply
Subscribe
Start new thread
Syndicated Feed (RSS)
|
Displaying 1 to 6 of 6
|
Previous
1
Next |
| Author |
Message |
wokkie
Posts: 1
|
Having some troubles with the server compilation, and wondering if the tar file is possibly missing something? Has anyone else managed to install it?
Using Centos 3.1.
"
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
For this remote PEAR operation you need to install the XML_RPC package
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
For this remote PEAR operation you need to install the XML_RPC package"
Thanks
Bob
|
|
Back to top
|
|
lux
Posts: 17
|
|
Re: Extensions Directory - Posted: December 16, 2004 - 8:17 AM
|
Quote and reply
|
wokkie said:
Having some troubles with the server compilation, and wondering if the tar file is possibly missing something? Has anyone else managed to install it?
Using Centos 3.1.
"PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
For this remote PEAR operation you need to install the XML_RPC package
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' - /usr/local/src/phpbeans-server-1.0.0/php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
For this remote PEAR operation you need to install the XML_RPC package"
Hi Bob,
It looks like you could try a couple of things:
1) Temporarily comment out the line 'extension="sqlite.so"' in 'conf/php.ini' or else make sure the file 'php/lib/php/extensions/no-debug-non-zts-20020429/sqlite.so' in your phpBeans installation is present (probably the former).
The idea is that PHP is trying to load sqlite before it's been installed, so we turn the extension loading command off while we finish with the PEAR installation, then once you've installed sqlite via './php/bin/pear install sqlite' you can re-enable that line.
2) If you have trouble with the PEAR packages, it sometimes helps to download the XML-RPC package manually and install it from the download, then you're able to continue with the other missing packages. To do this, first download the XML-RPC package from here:
http://pear.php.net/package/XML_RPC
I'll assume it's in your home folder for the commands below. To install it, from the phpBeans root folder do this:
./php/bin/pear install ~/XML_RPC-1.1.0.tgz
Once you've got that installed, you should be able to continue with the others it may have said were missing (some or all of DB, HTTP, Net_Socket, XML_Parser, Mail, Net_Server).
Let me know if this helps get you over the hump. ;)
Cheers,
Lux
|
|
Back to top
|
|
dbax2600
Posts: 3
|
I'm having the same issue on Debian Sarge.
What is sqlite used for in phpbeans and is it necessary?
I've tried all of these things and I've gotten to the point where I can use the shell and login.
I get the error when I log in, but nothing seems broken because of it.
|
|
Back to top
|
|
lux
Posts: 17
|
|
Re: SQLite doesn't build - Posted: June 19, 2006 - 11:09 AM
|
Quote and reply
|
dbax2600 said:
I'm having the same issue on Debian Sarge.
What is sqlite used for in phpbeans and is it necessary?
I've tried all of these things and I've gotten to the point where I can use the shell and login.
I get the error when I log in, but nothing seems broken because of it.
SQLite is used as a data store for objects running in the phpBeans server. It lets you save things more permanently, since the objects in phpBeans are persistent but their data doesn't survive a restart for example.
Lux
|
|
Back to top
|
|
dbax2600
Posts: 3
|
I've also noticed that all of the documentation suggests to use the phpbeans copy of pear to install sqlite, but I've found that it's only available through pecl.
The sqlite page on the pecl.php.net site says that there are no dependencies. Are there any dependencies that I could get to make this build, since the build of sqlite always fails?
I have a minimal install of Debian Sarge and have been installing packages as I need them.
|
|
Back to top
|
|
dbax2600
Posts: 3
|
|
Re: SQLite doesn't build - Posted: June 21, 2006 - 10:42 AM
|
Quote and reply
|
I got mine working after following the instructions at http://ca.php.net/manual/en/ref.sqlite.php and using the php5 source instead of the php4 source that comes with phpbeans.
SQLite is already included, so there's no need to have pear install it seperately, but PDO needs to be added as an extension in the php.ini.
Here is the end of my compile.sh:
#./bin/pear install sqlite
echo 'extension="sqlite.so"' > $conf/php.ini
echo 'extension="pdo.so"' > $conf/php.ini
./bin/pear install -f Net_Server
|
|
Back to top
|
|
Return to Top
|
|