p dont think schrieb:

Fatal error: Failed opening required 'DB.php' (include_path='./') in
/usr/share/squirrelmail-1.4.1/plugins/sasql/sasql_db.php on line 5

And this is correct. I was unable to find any DB.php file under /.
But this problem seems not to be sasql specific.

I use Squirrelmail version 1.4.1 with php in version 4.1.2-6 on a debian
system.


DB.php is a Pear file. Did your PHP come with Pear? It usually does, but dunno about v4.1.2-6(debian). Upgrade PHP and you might magically solve your problems. Otherwise, go it the hard way and start by going to pear.php.net.

Thanks for your reply.
I tried what you said, but this didn't work out for me.

I didn't have any package installed called pear.
But searching for a so called debian package gave me the following result.

apt-cache search pear|grep php
php4-pear - PEAR - PHP Extension and Application Repository

Installing it:
apt-get install php4-pear
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
 php4-pear
0 packages upgraded, 1 newly installed, 0 to remove and 213 not upgraded.
Need to get 0B/227kB of archives. After unpacking 1331kB will be used.
Selecting previously deselected package php4-pear.
(Reading database ... 44473 files and directories currently installed.)
Unpacking php4-pear (from .../php4-pear_4%3a4.1.2-7_all.deb) ...
Setting up php4-pear (4.1.2-7) ...

dpkg -l|grep pear
ii php4-pear 4.1.2-7 PEAR - PHP Extension and Application Reposit


Now trying (as described on http://pear.php.net/manual/en/installation.cli.php):
pear remote-list
Segmentation fault


so i tried to use strace with pear (here the last few lines of output):

open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=32744, ...}) = 0
old_mmap(NULL, 32744, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40018000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\177"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=217348, ...}) = 0
old_mmap(NULL, 216928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4227a000
old_mmap(0x42297000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1d000) = 0x42297000
close(4) = 0
munmap(0x40018000, 32744) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Okay, then i tried to install pear manually (because the debian package seems to be unfunctional in my environment)
as described on http://pear.php.net/manual/en/installation.getting.php.
Before that i unistalled the debian package to avoid possible conflicts.


apt-get remove --purge php4-pear
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
php4-pear*
0 packages upgraded, 0 newly installed, 1 to remove and 213 not upgraded.
Need to get 0B of archives. After unpacking 1331kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 44593 files and directories currently installed.)
Removing php4-pear ...

I tried:
lynx -source http://go-pear.org/ | php4
Segmentation fault

Another try with
strace php4   gave me similar results as the first try with strace pear.

open("/usr/lib/php4/extensions/no-debug-non-zts-20001222/mysql.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 (\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=35716, ...}) = 0
old_mmap(NULL, 34836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x42271000
old_mmap(0x42279000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x8000) = 0x42279000
close(4) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=32744, ...}) = 0
old_mmap(NULL, 32744, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40018000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\177"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=217348, ...}) = 0
old_mmap(NULL, 216928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4227a000
old_mmap(0x42297000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1d000) = 0x42297000
close(4) = 0
munmap(0x40018000, 32744) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++




So what's the problem?
My installation of php4 seems to be buggy too.

dpkg -l|grep php4
ii php4 4.1.2-7.0.1 A server-side, HTML-embedded scripting langu
ii php4-cgi 4.0.5-2 A server-side, HTML-embedded scripting langu
ii php4-imap 4.1.2-7.0.1 IMAP module for php4
ii php4-ldap 4.1.2-7.0.1 LDAP module for php4
ii php4-mysql 4.1.2-7.0.1 MySQL module for php4

This version of php4 is the actual stable version.
Trying to install the testing package gave me a lot of dependency failures
so i made a cut at this moment.

So, i would be thankful if someone might give me another tip
on how to solve this problem.

Sorry for so much text, but i thought more info is better than less.


Regards

Thorsten


------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to