Hi all,
Each time I update ports/php5, it appears that php/extensions.ini is updated with -- no surprise -- the list of extensions.
Each time this happens, however, many of the entry lines get duplicated (it would seem the update processes appends the list of entries to the existing file rather than rewriting it). This may not be a fatal error, but one of my cron jobs runs a php script every 15 minutes and I then get spammed by error messages, ie:
I can fix this by piping the ini file through sort and uniq to remove the duplicate lines, but this a nuisance to do every time the php5 port is updated. Can someone suggest a more permanent fix?
Thanks
Each time I update ports/php5, it appears that php/extensions.ini is updated with -- no surprise -- the list of extensions.
Each time this happens, however, many of the entry lines get duplicated (it would seem the update processes appends the list of entries to the existing file rather than rewriting it). This may not be a fatal error, but one of my cron jobs runs a php script every 15 minutes and I then get spammed by error messages, ie:
Code:
PHP Warning: Module 'bz2' already loaded in Unknown on line 0
Thanks