Hi, php-5.2.x is built (in full!) four times. In Mandriva it's built once. I talked about this on IRC but there seems to be low interest fixing it, so I fixed it for you (because I always uses the latest version here). Two patches are attached to this bug, for the spec file and for fixing the mod_php.so apache module. Please note I also changed mod_php5/mod_php in there which now triggers a bug in the /etc/httpd/conf/fileprotector.conf file: ----- <IfDefine HAVE_PHP> <IfModule !mod_php4.c> <IfModule mod_dir.c> <FilesMatch "\.(php|php3|php4|php5|phps|phtml)$"> ErrorDocument 403 "<h1>403 Forbidden: Execute Access Forbidden</h1><p>The server \ is currently not serving php4 scripts.</p><p>This could mean the server administrator \ is doing maintenance or has orphan php files laying around, please contact the server \ administrator or come back later. Thank you.</p> Order allow,deny Deny from all </FilesMatch> </IfModule> </IfModule> </IfDefine> ----- You have to change mod_php4.c/mod_php.c in that file (apache-2.2.22-12.mga2.src.rpm). Cheers.
Created attachment 2845 [details] spec file patch
Created attachment 2846 [details] mod_php patch
Summary: php-5.2.x is built (in full!) four times => php-5.3.x is built (in full!) four times
I meant php-5.3.x here, sorry.
Keywords: (none) => PATCHAssignee: bugsquad => thomas
Depends on: (none) => 7618
Status: NEW => ASSIGNED
What is the real problem? It's not a security issue, is it? Often updates result in breakages. I am not sure if we want to do this as an update as maintaining mga 1 ends in December. Please provide some reasons.
There are two problems: It takes too long to build it locally for tests. As in cauldron I fixed the build of mod_php the more correct way. Previousely in cauldron mod_php was built from the php.spec file but against an older and installed php-devel, which could mean for example php-cli-5.4.6-1 but apache-mod_php-5.4.6-1 that is really apache-mod_php-5.4.5-1.
i am all for this change.
CC: (none) => nicolas.lecureuil
update pushed
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED