[Bug 434802] New: incorrect mod_php5 package compilation flags
https://bugzilla.novell.com/show_bug.cgi?id=434802 Summary: incorrect mod_php5 package compilation flags Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: barzog@telecom.by QAContact: qa@suse.de Found By: System Test According to http://bugs.php.net/bug.php?id=29611 mod_php5 must be configured with --with-zlib option on, else (in current state with extension php5-zlib) it cannot work with compressed swf files. This bug is more then 4 years old and I wonder why it not fixed and any version of openSUSE or SLES. After quick look at build service php5 spec file (https://build.opensuse.org/package/show?package=php5&project=openSUSE%3A11.0) I've found a quick fix: --- php5.spec 2008-10-13 16:31:02.000000000 +0300 +++ php5.spec.fixed 2008-10-13 18:18:55.000000000 +0300 @@ -1266,6 +1266,7 @@ --enable-libxml \ --enable-session \ --with-mm \ + --with-zlib \ %if 0%{?suse_version} > 1010 --with-pcre-regex=%{_usr} \ %else -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=434802
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=434802
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c1
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=434802
User barzog@telecom.by added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c2
--- Comment #2 from Oleg Gawriloff
https://bugzilla.novell.com/show_bug.cgi?id=434802
User barzog@telecom.by added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c3
--- Comment #3 from Oleg Gawriloff
https://bugzilla.novell.com/show_bug.cgi?id=434802
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c4
--- Comment #4 from Cristian Rodriguez
But why? May be I did not get difference between libxml and zlib? Can you explain how can I use system mod_php5 and compressed swf files? Its a matter of choice: if we have compiled zlib and optionally install zlib extension user have the choice what method to use by uncommenting appropriate string in extensions.conf.
Because we distribute php extensions as shared modules, unless there is a major conflict or upstream has removed the possibility of building it shared. The suggestion is not the correct fix either, it is a workaround, correct soluction is modifing the PHP source code to use the zlib extension if loaded. We wont change this in released products, nor in 11.1 at this current stage. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=434802
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c5
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=434802
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c6
--- Comment #6 from Cristian Rodriguez
I am with Cristian, linking statically against libz is a (local) workaround at best. The problem should be reported (if it didn't already happen) and fixed upstreams.
Just to make it clear, PHP want the zlib **extension** statically built into PHP **not** the zlib library, which is used as a shared library. The problem with the reporter's suggestion is that I have to change the package structure, obsolete php5-zlib package, test if works, check if packages dont break at update time.. adnd obligate users to have the extension loaded in apache even if they dont need them ( and of course, inheriting security issues of that module for free) I will check if fixing this problem the right way is possible in the future though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=434802
User barzog@telecom.by added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c7
--- Comment #7 from Oleg Gawriloff
https://bugzilla.novell.com/show_bug.cgi?id=434802
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c8
--- Comment #8 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=434802
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434802#c9
Cristian Rodríguez
participants (1)
-
bugzilla_noreply@novell.com