On 01/05/2011 06:13 PM, Grant wrote: >>> Thank you, that fixed it. I'm getting some errors in squirrelmail but >>> functionality seems to be intact. >>> >>> Since things seem to be working with php-5.3.4, how can I get rid of >>> the older version of php that must be installed in another slot? I'm >>> hoping that simplifies things a bit. PHP on Gentoo just got more >>> complicated and all I need out of it is squirrelmail. Actually, I >>> wish there was a decent webmail client that didn't depend on PHP at >>> all so I could remove it. >>> >>> - Grant >>> >> >> The slotting is just for major versions, so you probably don't have two >> installed (you most likely went from 5.3.3 to 5.3.4). > > You're right. > >> But watch out -- after the eselect, you'll need to move your php.ini >> from e.g. /etc/php/apache2 to /etc/php/apache2-php5.3. > > Here I get confused. I believe a "development version" of php.ini was > installed to /etc/php/apache2-php5.3/php.ini. It included a > development value for error_reporting which I needed to change to the > production value in order to prevent squirrelmail from triggering many > error messages. At this point I have my old php.ini (which I don't > think I ever edited) and the new development version of php.ini for > 5.3.4. I did a diff between them and there are about 15 chunks of > difference. The problem is I'm not sure which changes are due to the > 5.3.3->5.3.4 switch and which are due to the fact that it's a > development version of the config file. What I'd like to do is run a > default 5.3.4 production php.ini but I don't know how to come up with > that.
New/deleted parameters are probably from the upgrade. Values that have been changes are probably your changes. You can re-emerge PHP with the production php.ini according to this (I haven't tried it): http://olemarkus.org/2010/10/choosing-between-development-and-production-version-of-php-ini/ > What is gained by this new extra layer for PHP on Gentoo? I was happy > when it behaved like every other ebuild and I could use etc-update > along with -5 and I didn't have to bother with eselect. A ton of crap broke with the PHP 5.2 -> 5.3 upgrade. In theory, this will help with future upgrades; but I'm not sure how, since I can't *run* both versions at the same time. Does anyone know how having 5.3 installed will help me when I'm stuck running 5.2 for some of my sites?