[BlueOnyx:02570] Per-site PHP Settings
DD
bqlist at distortal.com
Mon Oct 5 04:37:19 -05 2009
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
More information about the Blueonyx
mailing list