Intl extension line deleted from phprc file after editing it


#1

Hi all!
I’ve the same problem of this topic Problem on intl

I’ve followed the useful guide here https://help.dreamhost.com/hc/en-us/articles/360003820252-How-to-enable-the-intl-extension and then the Intl library was active in 5.6 Php version

The day after it disappeared and I’ve to SSH again, edit the phprc file and after few seconds it worked again

Is there something I could do to avoid this disappearing?

Thanks :slightly_smiling_face:


#2

Typically, DH appears to refresh phprc files every day, in order to add the opcache extension. I think as long as your changes are outside the triple-bracketed area {{{ ... }}}, then DH’s robot won’t touch them. At least, that’s been my experience in the past.

For example:

; {{{ The following lines were automatically added by DreamHost
zend_extension=opcache.so
; }}} That's all from DreamHost

; Put user modifications here
extension=intl.so

#3

Thanks @habilis for your suggestion! it seems it has worked well

the line added is moved on top after the daily refresh:

extension=intl.so
; {{{ The following lines were automatically added by DreamHost
zend_extension=opcache.so
; }}} That's all from DreamHost

the important part is that is still there and working