[BlueOnyx:02574] Re: Per-site PHP Settings
Ken Marcus - Precision Web Hosting, Inc
kenlists at precisionweb.net
Mon Oct 5 11:25:28 -05 2009
----- Original Message -----
From: "DD" <bqlist at distortal.com>
To: "'BlueOnyx General Mailing List'" <blueonyx at blueonyx.it>
Sent: Monday, October 05, 2009 2:37 AM
Subject: [BlueOnyx:02570] Per-site PHP Settings
> Hi all,
>
> In Server Management->Security->PHP Settings I have set Allow URL fopen to
> Off, but one of my sites needs to scrape a page for a piece of data. I
> have
> enabled the fopen option in Site Management->Domain->Services->PHP but
> running the script via the shell gives me:
>
> PHP Warning: file(): URL file-access is disabled in the server
> configuration in /path/to/script.php line 3
> PHP Warning: file(<url>): failed to open stream: no suitable wrapper
> could
> be found in /path/to/script.php on line 3
>
> It appears the site-specific fopen option is ignored - can any one confirm
> and/or advise?. Obviously I don't want to allow this option (or others)
> globally.
>
> Regards,
>
>
> Dick
>
>
Dick
I think you need to enable it for the whole server. Then disable it for all
the sites except that one.
----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net
More information about the Blueonyx
mailing list