Bug 105929 - php4 is messed up with php5
Summary: php4 is messed up with php5
Status: RESOLVED DUPLICATE of bug 105934
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: Beta 2
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 20:17 UTC by peter czanik
Modified: 2005-08-22 12:32 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
phpinfo() (39.24 KB, text/html)
2005-08-19 20:17 UTC, peter czanik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter czanik 2005-08-19 20:17:15 UTC
I wanted to install squirellmail. It says, that it's for php4, so when it
complained for php-gettext, I chose php4-gettext. The strange thing is, that it
depended automagically on: apache2-mod_php5-5.0.4-7 and php5-5.0.4-7. And as one
can see from the attached phpinfo() output, it's really php5, and the
php4-gettext modul is not even considered or in the error log...
Comment 1 peter czanik 2005-08-19 20:17:53 UTC
Created attachment 46726 [details]
phpinfo()
Comment 2 Philipp Thomas 2005-08-22 09:19:47 UTC
Not sure where the problem lies, therefor reassigning to squirrelmail maintainer.
Comment 3 Christoph Thiel 2005-08-22 12:01:50 UTC
Actually squirrelmail can be used with both php4 or php5: 
 
Requires:     mod_php_any php-session php-gettext 
 
Comment 4 Marian Jancar 2005-08-22 12:15:32 UTC
What does depend on the php5 and apache2-mod_php5, the squirrelmail or the
php4-gettext? As Christoph said, squirrelmail can be used with both php4 and
php5, when used with apache2-mod_php5, you need to install php5-* stuf and with
apache2-mod_php4 the php4-* stuff.
Comment 5 peter czanik 2005-08-22 12:28:48 UTC
This is my guess:

roxen# rpm -qRp noarch/squirrelmail-1.4.5-3.noarch.rpm
mod_php_any
php-session
php-gettext
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
/bin/sh
/usr/bin/env
/usr/bin/perl
rpmlib(PayloadIsBzip2) <= 3.0.5-1

squirrelmail needs mod_php_any

roxen# rpm -qp --provides i586/apache2-mod_php5-5.0.4-7.i586.rpm
mod_php_any
php-xml
php-spl
php-simplexml
php-session
php-pcre
libphp5.so
apache2-mod_php5 = 5.0.4-7

And apache2-mod_php5 provides mod_php_any. As seen in bug #105934
apache2-mod_php4 is missing from the OSS beta2, so php5 related packages are
chosen without a question.
Comment 6 Christoph Thiel 2005-08-22 12:32:08 UTC
Ok, hopefully this will be fixed as soon as the apache2-mod_php4 is back in 
the OSS version. 

*** This bug has been marked as a duplicate of 105934 ***