Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

All the gentoo docs on installing PHP[1][2] mentions that I should add a line to make.conf to use the 'production' php.ini


but that does not seems to do anything... what else should I do to 'enable' that change on the system?

Edit: @terdon pointed out to my blindness, the 1st link says what i should run after editing make.conf... but it does nothing

# grep ^display_errors /usr/share/doc/php-5.4.13/*
/usr/share/doc/php-5.4.13/php.ini-production:display_errors = Off
/usr/share/doc/php-5.4.13/php.ini-development:display_errors = On

# grep PHP /etc/make.conf

# emerge --ask --changed-use --deep @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Nothing to merge; would you like to auto-clean packages? [Yes/No] y

# grep ^display_errors /etc/php/apache2-php5.4/php.ini 
display_errors = On



share|improve this question
Did you run emerge --ask --changed-use --deep @world as suggested in the first link you posted? – terdon Jun 10 '13 at 13:04
thanks @terdon but it did not work for the php ini. I added more information, and updated the title. – gcb Jun 10 '13 at 13:16

You must log in to answer this question.

Browse other questions tagged .