Что то закончилась установка, перезагрузил сервер, запустил апач.. Но phpinfo по прежнему показывает версию PHP Version 5.3.6-pl0-gentoo
Вот последние строки которые выдало после установки пакетов..
Показать скрытый текст SPOILER
>>> Installing (4 of 4) dev-lang/php-5.2.17
*
* To enable php, you need to edit your /etc/conf.d/apache2 file and
* add '-D PHP5' to APACHE2_OPTS.
*
*
* Configuration file installed as
* /etc/apache2/modules.d/70_mod_php5.conf
* You may want to edit it before turning the module on in /etc/conf.d/apache2
*
* To switch cli to use php:5.2, run
* eselect php set cli php5.2
*
* To switch cgi to use php:5.2, run
* eselect php set cgi php5.2
*
* To switch apache2 to use php:5.2, run
* eselect php set apache2 php5.2
*
* Make sure that PHP_TARGETS in /etc/make.conf includes php5-2 in order
* to compile extensions for the 5.2 ABI
*
*
* This ebuild installed a version of php.ini based on php.ini-development version.
* You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either
* 'production' or 'development' in /etc/make.conf
* Both versions of php.ini can be found in /usr/share/doc/php-5.2.17
*
* For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:
* http://www.gentoo.org/proj/en/php/php-upgrading.xml
*
>>> Recording dev-lang/php:5.2 in "world" favorites file...
* Messages for package dev-lang/php-5.2.17:
* Installing php.ini for cli into /etc/php/cli-php5.2
*
* Installing php.ini for cgi into /etc/php/cgi-php5.2
*
* Installing php.ini for apache2 into /etc/php/apache2-php5.2
*
* To switch cli to use php:5.2, run
* eselect php set cli php5.2
*
* To switch cgi to use php:5.2, run
* eselect php set cgi php5.2
*
* To switch apache2 to use php:5.2, run
* eselect php set apache2 php5.2
*
* Make sure that PHP_TARGETS in /etc/make.conf includes php5-2 in order
* to compile extensions for the 5.2 ABI
*
*
* This ebuild installed a version of php.ini based on php.ini-development version.
* You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either
* 'production' or 'development' in /etc/make.conf
* Both versions of php.ini can be found in /usr/share/doc/php-5.2.17
*
* For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:
* http://www.gentoo.org/proj/en/php/php-upgrading.xml
*
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 3 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
root@vz3462:~#
Я так понимаю что оно размаскировало замаскованый php-5.2.17 исходник..,и начало его устанавливать..,подтянуло все пакеты.., но не удаляло 5.3 и теперь надо скрыть 5.3 и вкл. установленную 5.2.17 ?
Может конечно и не так.., это догадки мои.
Социальные закладки