[mythtv-users] Mythweb and allow_url_fopen in php 5.3

Tom Dexter digitalaudiorock at gmail.com
Sat Jan 15 14:59:16 UTC 2011


On Fri, Jan 14, 2011 at 5:36 PM, Tom Dexter <digitalaudiorock at gmail.com> wrote:
> I'm running mythtv/mythweb 0.23.1.  I just did an update on my Gentoo
> backend.  Part of it included a change where php 5.3 is now in a
> separate slot (so you can essentially have both running and switch
> them if you want). This resulted in a new directory with a new default
> php.ini.  After that I had all blank pixmaps.
>
> I've been able to fix it but the fix has me dumbfounded.  My old php.ini had:
>
> allow_url_open = Off
>
> ...whereas the new one had:
>
> allow_url_fopen = Off
>
> ...note the fopen rather than open.  According to the php docs,
> allow_url_fopen is actually the correct setting as far as I can see,
> but my pixmaps are broken unless I change it to
> allow_url_open....WTF??
>
> Anyone know what that's all about?  I make my living programming
> mostly in php these days and that's a new one for me.
>
> Tom
>

Duh...I see what was going on there.  I wasn't paying attention to the
fact that the setting there was in fact "Off". The old default php.ini
(with the incorrect allow_url_open) wasn't disabling the feature and
the new one was.  The compiled in default is apparently on.

Tom


More information about the mythtv-users mailing list