Summary: | mod_php 4.3.2-r4 overwrites php.ini file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Herbert (RETIRED) <stuart> |
Component: | Current packages | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | php-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Diff for php.eclass to fix this bug. |
Description
Stuart Herbert (RETIRED)
2003-07-23 04:26:06 UTC
Created attachment 14907 [details, diff]
Diff for php.eclass to fix this bug.
No, Stu this seems to be a bug with newins, please report it to carpaski. NO install function should overwrite things in CONFIG_PROTECT under any circumstancces. Robin - thanks for looking at this. I've had a quick chat with carpaski on IRC, and have re-assigned this bug to him. Bah! Okay, after a chat on IRC with Azarah, and a *lot* more testing ... The php.ini file is actually getting overwritten by the code which tries to make /etc/php4/php.ini a symlink. That's one for robbat2 ;-) Using newins to install php.ini-5 as /etc/php/apache2-php4/php.ini isn't working at all. Using doins doesn't work reliably. I don't know why this is the case - I cannot explain it. I can verify that the ini file definitely is present under the image/ directory, but it isn't installed into the live filesystem. The timestamp on the ini file in the live filesystem is changed, but not the contents of the file itself. Go figure. Atm, anyone who upgrades to mod_php-4.3.2-r4 will end up losing their php.ini files. Once -r4 is marked stable, and the GLSA released, it seems that we'll have quite a few unhappy users ;-( Best regards, Stu Just a note to say that I've upgraded my local portage to the latest unstable version available, and this is now working fine. Stu |