Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142744 - php modules for apache2-php4 missing while present for cli-php4, possibly concurrentmodphp related bug
Summary: php modules for apache2-php4 missing while present for cli-php4, possibly con...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 21:24 UTC by Kamil Gornik
Modified: 2006-08-04 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge -info,4.64 KB, application/octet-stream)
2006-08-03 21:24 UTC, Kamil Gornik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Gornik 2006-08-03 21:24:14 UTC
recently I installed gentoo (2006.0 stage3) on my box.
php4 compiled several modules for cli API while only two of them are avaiable for apache2 API
my php is compiled with concurrentmodphp flag so I suppose it has something in common with that: extensions for apache2 are i-versioned suffixed dir, while cli without suffix (/usr/lib/php4/lib/php/extensions/no-debug-zts-20020429)
Same was with /etc/php/apache2-php4/ext dir compared to /etc/php/cli-php4/ext dir
copying files over these and addink required symlinks in /etc/apach2-php4/ext-active then restarting apache solved problem
What is important: cli's zip.so and apache's zip.so (one of two avaiable for apache2, other is sqlite.so) differ in size
Comment 1 Kamil Gornik 2006-08-03 21:24:39 UTC
Created attachment 93400 [details]
emerge --info
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-08-04 08:16:23 UTC
This is expected and correct, all extensions must be present two times for concurrentmodphp to work, one time for Apache and another for CLI/CGI, as they are different in how they work wrt the symbol versioning.
As I stated in my blog http://chtekk.longitekk.com/?p=24 you cannot use concurrentmod with the sharedext USE flag (that is why you have different numbers of modules in the two directories). And please don't just copy them over, they _are_ different, and if you just copy them over and load both mod_php5 and mod_php4 into Apache, it will segfault.
Best regards, CHTEKK.