Posted by Andy Hassall on 06/25/05 21:13
On 24 Jun 2005 07:16:23 -0700, jon.berg@gmail.com wrote:
>I have a problem getting the file() function in PHP to work on several
>linux distributions, for example fedora core 3.
>
>For example file('http://someurl.com/') do not return the content of
>that page.
>
>This is when I use the version of Apache and PHP that comes with the
>operating system. When I compile Apache and PHP from source it works.
>Is there some configuration that can be done so it will work? I need to
>make it work on a server where I can not recompile from the source of
>Apache and PHP.
http://uk.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
Unless:
http://uk.php.net/manual/en/configure.php#configure.disable-url-fopen-wrapper
... was used at compile time.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Navigation:
[Reply to this message]
|