Opened 3 years ago

Closed 3 years ago

#11201 closed Task/To do item (fixed)

changes in the way php5 handles ini files

Reported by: JaimeV Owned by: Jamie McClelland
Priority: Medium Component: Tech
Keywords: php ini Cc:
Sensitive: no

Description

Bart discovered that the way php5 handles ini files in /etc/php5/conf.d has changed in jessie. Up to now, a file in /etc/php5/conf.d has been read by apache's mod-php. But in Jessie, this is not the case any more. Now it needs to be in or linked from /etc/php5/apache2/conf.d and/or all other platforms the settings should apply to.

https://wiki.debian.org/PHP/#New.2FBetter_extensions_manager

example: there was a link from /etc/php5/conf.d to our custom php file: 000_linksunten.ini -> /home/members/linksunten/sites/linksunten.indymedia.org/include/php5/php.ini

this does not suffice any more, now it needs /etc/php5/apache2/conf.d/50-linksunten.ini -> /etc/php5/conf.d/000_linksunten.ini

We need to find a way to create these symlinks for all custom ini files in all servers. Not sure if this should be done through puppet.

Change History (3)

comment:1 Changed 3 years ago by Jamie McClelland

Owner: set to Jamie McClelland
Status: newassigned

Thanks linksunten,

It looks like debian is putting the actual files in /etc/php5/mods-available and symlinking them as needed to {cgi,apache2,cli}/conf.d.

This is a one-off situation for dedicated moshes (see #11219). And it should not affected normal shared moshes... except for our special garbage collection settings for Drupal 6 (#1230) and and apc settings both of which should be fixed in puppet.

jamie

comment:2 Changed 3 years ago by Emily Paul

thanks!

comment:3 Changed 3 years ago by JaimeV

Resolution: fixed
Status: assignedclosed

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.