Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to PHP 4.3.11, squirrelmail and Pear DB problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Fri Apr 15, 2005 3:00 pm    Post subject: Upgrade to PHP 4.3.11, squirrelmail and Pear DB problem Reply with quote

Hello,

Upgraded this morning to PHP 4.3.11 from 4.3.10 and now it appears something has been messed up with squirrelmail's ability to find the pear DB module.

Code:
Warning: main(DB.php): failed to open stream: No such file or directory in /path-to-squirellmail/functions/abook_database.php on line 14
Warning: main(): Failed opening 'DB.php' for inclusion (include_path='.:/usr/lib/php') in /path-to-squirellmail/functions/abook_database.php on line 14


I tried

Code:
pear install DB


But that had no effect. Nothing obviously wrong with php.ini. Any suggestions on what may be the issue?

Many thanks

[Edit: ] I should add, stopping and restarting apache did not resolve the issue.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.


Last edited by gpeangel on Fri Apr 15, 2005 3:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
rem!x
n00b
n00b


Joined: 12 Jul 2004
Posts: 48

PostPosted: Fri Apr 15, 2005 3:37 pm    Post subject: same problem Reply with quote

same problem here...
php is working its seems to be a PEAR problem

help greatly appreciated :-)
Back to top
View user's profile Send private message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Fri Apr 15, 2005 3:47 pm    Post subject: Reply with quote

The only reference I have found in the forums is this one, but the suggested solution didn't resolve the issue in my case.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.
Back to top
View user's profile Send private message
rem!x
n00b
n00b


Joined: 12 Jul 2004
Posts: 48

PostPosted: Fri Apr 15, 2005 7:57 pm    Post subject: Reply with quote

ok i'll try later.

i've seen in other post that you have to edit php.ini and replace
Code:
include_path=".:usr/lib/php"


by this one:
Code:
include_path=".:usr/lib/php/php"


good luck ;-)
Back to top
View user's profile Send private message
dezydery
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2004
Posts: 87

PostPosted: Fri Apr 15, 2005 8:00 pm    Post subject: Reply with quote

Looks like stuff's being moved around, and has caused some problems:
https://bugs.gentoo.org/show_bug.cgi?id=88763

Solution in a nutshell (worked for me): edit your php.ini file - probably /etc/php/apache2-php4/php.ini

change this:
Code:
include_path = ".:/usr/lib/php"

to this:
Code:
include_path = ".:/usr/lib/php/php:/usr/lib/php"


Restart Apache if you're running PHP as a module.

You might have to adapt this if you have a different include_path; basically, for most people you'll need both the php directories.

It would be nice if Gentoo were to suffer fewer problems of this nature... nevertheless, it's a good reminder, always update a development copy before production, so these things can be safely worked out.
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Fri Apr 15, 2005 8:06 pm    Post subject: Reply with quote

A broken eclass is causing this error.
https://bugs.gentoo.org/show_bug.cgi?id=86685
https://forums.gentoo.org/viewtopic-p-2301460.html#2301460
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Fri Apr 15, 2005 10:17 pm    Post subject: Reply with quote

dezydery wrote:
Looks like stuff's being moved around, and has caused some problems:
https://bugs.gentoo.org/show_bug.cgi?id=88763

Solution in a nutshell (worked for me): edit your php.ini file - probably /etc/php/apache2-php4/php.ini

change this:
Code:
include_path = ".:/usr/lib/php"

to this:
Code:
include_path = ".:/usr/lib/php/php:/usr/lib/php"


Restart Apache if you're running PHP as a module.

You might have to adapt this if you have a different include_path; basically, for most people you'll need both the php directories.

It would be nice if Gentoo were to suffer fewer problems of this nature... nevertheless, it's a good reminder, always update a development copy before production, so these things can be safely worked out.


Making this change resolved my issue. Thanks for the insight.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Apr 15, 2005 10:20 pm    Post subject: Reply with quote

Moved from Portage & Programming in favour of https://forums.gentoo.org/viewtopic-t-312957.html
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum